body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-container {
    margin-top: 100px;
}

.login-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-title {
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.5rem;
}

.login-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-card h5 {
    color: #7f8c8d;
    font-weight: 400;
    font-size: 1.1rem;
}

.login-card .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.login-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: #ffffff;
}

.login-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.login-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.login-card .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.login-card .alert {
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
}

.dashboard-container {
    margin-top: 50px;
}

.tile {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tile.tile-expandable {
    height: auto;
    min-height: 200px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.tile-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
    transition: all 0.3s ease;
}

.tile:hover .tile-icon {
    transform: scale(1.1);
    color: #764ba2;
}

.tile h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tile-subtitle {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.navbar {
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 600;
    color: #2c3e50 !important;
}

.navbar-brand i {
    color: #667eea;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #667eea !important;
}

.nav-link i {
    color: #667eea;
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.footer a {
    color: #667eea !important;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #764ba2 !important;
    text-decoration: none !important;
}

/* Attribution page specific styles */
.attribution-text {
    line-height: 1.6;
}

.attribution-text ul li {
    padding: 0.5rem 0;
    border-left: 3px solid #667eea;
    padding-left: 1rem;
    margin-left: 1rem;
}

/* BGP Updates Tile Styling */
.live-updates-container {
    min-height: 280px;
}

.updates-list {
    background: rgba(248, 249, 250, 0.7);
    border-radius: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.updates-status {
    margin-bottom: 0.5rem;
    text-align: center;
}

.bgp-update-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bgp-update-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.bgp-alert-item {
    background: rgba(255, 243, 205, 0.9);
    border-left: 4px solid #ffc107;
}

.bgp-alert-item.severity-high,
.bgp-alert-item.severity-critical {
    background: rgba(255, 225, 225, 0.9);
    border-left-color: #dc3545;
}

/* Make live updates tile expandable */
.tile:has(.live-updates-container) {
    height: auto;
    min-height: 400px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

/* Modal styling for BGP details */
.modal-lg {
    max-width: 900px;
}

#bgp-update-details pre {
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#bgp-update-details h6 {
    color: #495057;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.25rem;
}

#bgp-update-details .badge {
    font-size: 0.75rem;
}

/* Connection status indicators */
.updates-status .fas.fa-circle {
    font-size: 0.6rem;
    margin-right: 0.25rem;
}

/* BGP update animations */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.border-start.border-primary {
    animation: slideInFromTop 0.3s ease;
}

/* Alert update animations */
@keyframes pulseAlert {
    0% {
        background-color: rgba(255, 243, 205, 0.9);
    }
    50% {
        background-color: rgba(255, 243, 205, 1);
    }
    100% {
        background-color: rgba(255, 243, 205, 0.9);
    }
}

.border-start.border-danger {
    animation: slideInFromTop 0.3s ease, pulseAlert 2s ease;
} 