* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2E7D32 0%, #009688 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    margin-bottom: 20px;
    text-align: right;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-add {
    background: #4CAF50;
    color: white;
}

.btn-add:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-edit {
    background: linear-gradient(135deg, #4CAF50 0%, #009688 100%);
    color: white;
    margin-right: 5px;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #388E3C 0%, #00796B 100%);
}

.btn-delete {
    background: linear-gradient(135deg, #FF5722 0%, #D84315 100%);
    color: white;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #F4511E 0%, #BF360C 100%);
}

.btn-primary {
    background: #2E7D32;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
}

.btn-primary:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #2E7D32 0%, #009688 100%);
    color: white;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

td {
    font-size: 14px;
    color: #333;
}

tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f8f8;
}

tbody tr:nth-child(even) {
    background: #fafafa;
}

tbody tr:nth-child(odd) {
    background: white;
}

tbody tr:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #009688 20%);
    color: white;
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

tbody tr:hover td {
    color: white;
}

.action-cell {
    white-space: nowrap;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #2E7D32;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .action-buttons {
        text-align: center;
    }
}

