:root {
    --shore-blue: #6ecff6;
    --shore-light: #e6f7ff;
    --shore-dark: #0a192f;
    --shore-bg: #0d1b2a;
    --shore-card: rgba(255, 255, 255, 0.08);
    --shore-border: rgba(110, 207, 246, 0.3);
    --shore-glow: 0 0 12px rgba(110, 207, 246, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--shore-dark), var(--shore-bg));
    color: var(--shore-light);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid var(--shore-border);
}

.header h1 {
    color: var(--shore-blue);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(110, 207, 246, 0.5);
}

.header p {
    color: var(--shore-light);
    opacity: 0.8;
}

.card {
    background: var(--shore-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--shore-border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shore-glow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--shore-border);
}

.card-title {
    color: var(--shore-blue);
    font-size: 1.8rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--shore-blue);
    color: var(--shore-dark);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #5bc0de;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: #ff6b6b;
    color: white;
}

.btn-danger:hover {
    background: #ff5252;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--shore-border);
}

table th {
    background-color: rgba(110, 207, 246, 0.15);
    color: var(--shore-blue);
    font-weight: 600;
}

table tr:hover {
    background-color: rgba(110, 207, 246, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--shore-blue);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shore-border);
    background: rgba(10, 25, 47, 0.6);
    color: var(--shore-light);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--shore-blue);
    box-shadow: 0 0 0 3px rgba(110, 207, 246, 0.3);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--shore-border);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.user-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.role-admin {
    color: #5cb85c;
    font-weight: bold;
}

.role-user {
    color: #5bc0de;
    font-weight: bold;
}

.link {
    color: var(--shore-blue);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        padding: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
}
