* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e1e8ed;
}

h1 {
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}

h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #2c5aa0;
    margin: 15px auto 30px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

input:focus, select:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.btn {
    width: 100%;
    padding: 14px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    background: #234a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.alert {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.dashboard-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.dashboard-link a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.dashboard-link a:hover {
    color: #234a87;
    text-decoration: underline;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-box {
    background: white;
    border: 2px solid #e1e8ed;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #2c5aa0;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.1);
}

.stat-box h3 {
    font-size: 14px;
    color: #5a6c7d;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-box p {
    font-size: 36px;
    font-weight: 700;
    color: #2c5aa0;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 16px;
    text-align: left;
}

th {
    background: #2c5aa0;
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    border-bottom: 1px solid #e1e8ed;
    color: #2c3e50;
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f8f9fa;
}

.btn-delete {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 13px;
}

.btn-delete:hover {
    background: #dc3545;
    color: white;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e8ed;
}

.header-bar h1 {
    margin: 0;
    text-align: left;
}

.header-bar h1::after {
    display: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    color: #5a6c7d;
    font-size: 14px;
    font-weight: 500;
}

.btn-logout {
    padding: 8px 20px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.profile-card {
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
}

.profile-card h2 {
    color: #2c5aa0;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #5a6c7d;
    font-size: 14px;
}

.info-value {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
}
