.admin-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 18px;
    width: 480px;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}
.admin-table {
    min-width: 624px; /* 480px + 30% = 624px */
    width: 130%;
    table-layout: auto;
}
@media (max-width: 900px) {
    .container, .admin-panel {
        max-width: 98vw;
        padding: 18px 4vw 18px 4vw;
    }
    .admin-table {
        font-size: 0.98em;
    }
}
@media (max-width: 600px) {
    .container, .admin-panel {
        max-width: 100vw;
        padding: 8px 0 8px 0;
        border-radius: 0;
    }
    .admin-table th, .admin-table td {
        padding: 8px 4px;
    }
    .admin-header h2 {
        font-size: 1.2rem;
    }
}
body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: linear-gradient(120deg, #e9ecef 0%, #dee2e6 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.container {
    width: 100%;
    max-width: 1100px;
    min-width: 340px;
    margin: 40px auto;
    background: #fff;
    padding: 38px 36px 32px 36px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13), 0 2px 8px rgba(44,62,80,0.09);
    border: 1.5px solid #e3e6ea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}
.admin-panel {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13), 0 2px 8px rgba(44,62,80,0.09);
    border: 1.5px solid #e3e6ea;
    padding: 36px 40px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #e3e6ea;
    padding-bottom: 10px;
}
.admin-header h2 {
    margin: 0;
    font-size: 2rem;
    color: #233554;
}
.admin-welcome {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.admin-welcome p {
    font-size: 1.15rem;
    color: #2c3e50;
    margin: 0;
}
.admin-desc {
    font-size: 1rem;
    color: #6c757d;
}
.admin-table-section {
    margin-top: 18px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
}
.admin-table th, .admin-table td {
    padding: 14px 12px;
    text-align: left;
}
.admin-table th {
    background: #e9ecef;
    color: #233554;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}
.admin-table tr:not(:last-child) td {
    border-bottom: 1px solid #e3e6ea;
}
.admin-table td {
    color: #2c3e50;
    font-size: 1.04rem;
}
.delete-btn {
    padding: 7px 18px;
    border: none;
    border-radius: 5px;
    background: #c0392b;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.delete-btn:hover {
    background: #a93226;
}
h1, h2 {
    text-align: center;
    color: #1a2530;
    font-weight: 600;
    margin-bottom: 18px;
}
h1 {
    font-size: 1.7rem;
    letter-spacing: 0.5px;
}
h2 {
    font-size: 1.3rem;
}
label {
    display: block;
    margin-top: 18px;
    color: #2c3e50;
    font-size: 1rem;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 7px;
    border: 1.2px solid #bfc9d1;
    border-radius: 6px;
    font-size: 1rem;
    background: #f8fafb;
    transition: border 0.2s;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 1.2px solid #2c3e50;
    outline: none;
}
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #233554 0%, #2c3e50 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    margin-top: 28px;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    transition: background 0.2s;
}
button:hover {
    background: linear-gradient(90deg, #1a2530 0%, #233554 100%);
}
.error {
    color: #c0392b;
    text-align: center;
    margin-top: 18px;
    font-size: 1.02rem;
}
.logout {
    float: right;
    background: #c0392b;
    margin-top: 0;
    width: auto;
    padding: 7px 18px;
    font-size: 0.98rem;
    border-radius: 4px;
    box-shadow: none;
}
.logout:hover {
    background: #a93226;
}
hr {
    border: none;
    border-top: 1.5px solid #e3e6ea;
    margin: 28px 0 18px 0;
}
p {
    color: #2c3e50;
    font-size: 1.04rem;
    text-align: center;
}
