/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    background: #f4f6f9; /* Light grey/blue background */
    background: linear-gradient(135deg, #f4f6f9 0%, #e2e6ea 100%);
    color: #333;
    overflow-x: hidden;
}

/* Main Card Container */
.main-card {
    max-width: 800px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

.main-logo {
    max-height: 60px; /* Constrain logo height */
    width: auto;
}

/* Alert Badge */
.alert-badge {
    background-color: #fff3cd;
    color: #856404;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #856404;
    border-radius: 50%;
    margin-right: 6px;
}

/* App Selection Cards */
.app-card {
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: #e9ecef;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.app-card-link:hover .app-card .btn-primary {
    background-color: #0d47a1; /* Darker blue on card hover */
    border-color: #0d47a1;
    transform: scale(1.05);
}

/* Icons */
.icon-wrapper {
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.app-icon {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Button Customization */
.btn-primary {
    background-color: #1976d2; /* Generic premium blue, adjust to Nelsys brand if known */
    border-color: #1976d2;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Responsiveness */
@media (max-width: 576px) {
    .main-card {
        border-radius: 0 !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .card-body {
        padding: 2rem !important;
    }
}
