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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Landing Page Styles (index.html, index.html) */
body.landing {
    background: #1a2332;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e0e6ed;
}

.landing .container {
    text-align: center;
    padding: 2rem;
    max-width: 450px;
}

.landing h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.landing p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: #8b95a5;
    font-weight: 400;
}

.btn {
    display: block;
    width: 100%;
    padding: 0.9rem 2rem;
    background: #5ba4cf;
    color: #1a2332;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

.btn:hover {
    background: #6cb4df;
    transform: translateY(-1px);
}

.btn.btn-outline {
    background: transparent;
    color: #5ba4cf;
    border: 1px solid #3d4c5f;
}

.btn.btn-outline:hover {
    background: rgba(91, 164, 207, 0.05);
    border-color: #5ba4cf;
    transform: translateY(-1px);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #4a5568;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #2d3748;
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

/* Dashboard Styles */
body.dashboard {
    background: #1a2332;
    min-height: 100vh;
}

.navbar {
    background: #22303f;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2d3e50;
}

.navbar h1 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 400;
}

.navbar-logo-link {
    background: #ffffff;
    border-color: transparent;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
}

.navbar-logo-link:hover {
    background: #f0f2f4;
    border-color: transparent;
}

.navbar-logo {
    height: 28px;
    display: block;
    width: auto;
}

.navbar a {
    color: #5ba4cf;
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    border: 1px solid #3d4c5f;
    font-size: 0.9rem;
}

.navbar a:hover {
    background: rgba(91, 164, 207, 0.1);
    border-color: #5ba4cf;
}

.dashboard .container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.welcome-card {
    background: #22303f;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #2d3e50;
}

.welcome-card h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1.5rem;
}

.user-info {
    background: #1a2332;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #5ba4cf;
}

.user-info p {
    margin: 0.5rem 0;
    color: #8b95a5;
    font-size: 0.9rem;
}

.user-info strong {
    color: #e0e6ed;
    font-weight: 500;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: #22303f;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border: 1px solid #2d3e50;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card.user-card-single {
    grid-column: span 1;
}
.card.user-card-double {
    grid-column: span 2;
}

.card.role-card-single {
    grid-column: span 1;
}
.card.role-card-double {
    grid-column: span 2;
}


.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
}

.card h3 {
    color: #5ba4cf;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.card p {
    color: #8b95a5;
    line-height: 1.6;
    font-size: 0.9rem;
}
