:root {
    --primary: #6c5ce7;
    --primary-light: #a29bfe;
    --secondary: #00cec9;
    --danger: #d63031;
    --warning: #fdcb6e;
    --success: #00b894;
    --dark: #2d3436;
    --dark-light: #636e72;
    --light: #dfe6e9;
    --gray: #b2bec3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #1a1a2e;
    color: #e6e6e6;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2d3436;
}

.header h2 {
    font-size: 24px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--gray);
    color: var(--gray);
}

.btn-outline:hover {
    background-color: var(--gray);
    color: var(--dark);
}

.table-container {
    background: #16213e;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    background-color: #0f3460;
    color: white;
    font-weight: 500;
}

tbody tr {
    transition: background 0.3s;
}

tbody tr:hover {
    background-color: #0f3460;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn.edit {
    background-color: var(--warning);
}

.action-btn.delete {
    background-color: var(--danger);
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-male {
    background-color: #0984e3;
    color: white;
}

.badge-female {
    background-color: #e84393;
    color: white;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: rgba(0, 184, 148, 0.2);
    border-left: 4px solid var(--success);
    color: var(--success);
}

.alert-error {
    background-color: rgba(214, 48, 49, 0.2);
    border-left: 4px solid var(--danger);
    color: var(--danger);
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--gray);
}

.empty-state i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--gray);
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--light);
}

.empty-state p {
    margin-bottom: 20px;
}

.card {
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.card-header {
    margin-bottom: 30px;
}

.card-header h2 {
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #0f3460;
    border: 1px solid #2d3436;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-container .header h1 {
    color: var(--primary-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card {
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-card h2 {
    color: var(--primary-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    background: #0f3460;
    padding: 15px;
    border-radius: 8px;
}

.info-item strong {
    display: block;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.info-item span {
    color: white;
    font-size: 16px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.menu-card {
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.menu-card i {
    font-size: 40px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.menu-card h3 {
    color: white;
    margin-bottom: 15px;
}

.menu-card p {
    color: var(--gray);
    margin-bottom: 20px;
}