body {
    margin: 0;
    padding: 0;
    background: #fafbfc;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', Arial, sans-serif;
    color: #24272b;
}

/* Title */
h2 {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 18px;
    font-size: 1.27em;
    font-weight: 600;
    letter-spacing: -1px;
    color: #374151;
}

/* Top navigation bar (if used, add .top-bar), margin bottom only if really present */
.top-bar {
    text-align: center;
    margin-bottom: 18px;
}

.upload-btn {
    display: inline-block;
    padding: 9px 21px;
    background: #f7fafc;
    border: 1px solid #d4d2dc;
    border-radius: 6px;
    color: #2472c8;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,80,255,0.02);
    transition: background 0.15s, color 0.13s, border 0.15s;
}
.upload-btn:hover {
    background: #e7f3ff;
    color: #1556a6;
    border: 1px solid #a9d1fa;
}

/* Table Container */
.upload-card {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 550px;
    margin: 24px auto 0 auto;
    padding: 18px 12px 26px 12px;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Table */
table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 10px;
}

th, td {
    border-bottom: 1px solid #ebeef1;
    padding: 10px 6px;
    text-align: center;
    font-family: inherit;
}

th {
    background: #f4f7fa;
    color: #373f60;
    font-weight: 700;
    font-size: 12px;
    border-bottom: 2px solid #dde3e6;
}

tr:last-child td {
    border-bottom: none;
}

/* Row hover effect */
tbody tr:hover {
    background: #f1f7ff;
    transition: background 0.12s;
}

/* Action Buttons */
.edit-btn,
.delete-btn {
    padding: 5px 18px;
    border: none;
    border-radius: 4px;
    background: #e8eef8;
    color: #4172b1;
    font-size: 0.97em;
    font-weight: 500;
    margin: 0 3px;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
}

.edit-btn:hover {
    background: #2d8afd;
    color: #fff;
}

.delete-btn {
    background: #fde8e8;
    color: #d23c34;
}
.delete-btn:hover {
    background: #e22c24;
    color: #fff;
}

@media (max-width: 700px) {
    .upload-card {
        padding: 5px 3px 14px 3px;
        max-width: 100vw;
        min-width: 0;
    }
    table {
        min-width: 420px;
        font-size: 12px;
    }
    th, td {
        padding: 8px 4px;
    }
}

::-webkit-scrollbar {
    height: 6px;
}
::-webkit-scrollbar-thumb {
    background: #e7e8ef;
    border-radius: 3px;
}
