/* Admin Landing Page Styles */

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

.container-scroller {
    min-height: 100vh;
}

.content-wrapper {
    width: 100%;
    justify-content: center;
}

.page-body-wrapper {
    width: 100%;
}

.auth-form-light {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.brand-logo {
    margin-bottom: 2rem;
}

.brand-logo img {
    border-radius: 10px;
    max-width: 100px;
    height: auto;
}

h4 {
    color: #2c3e50;
    font-weight: 600;
}

h6.font-weight-light {
    color: #6c757d;
    font-weight: 300;
}

.portal-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-width: 2px !important;
    height: 100%;
}

.portal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.portal-card.border-primary:hover {
    border-color: #0056b3 !important;
    background-color: #f8f9ff;
}

.portal-card.border-success:hover {
    border-color: #28a745 !important;
    background-color: #f8fff9;
}

.portal-card .card-body {
    padding: 2rem;
}

.portal-card .portal-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portal-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portal-card .card-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portal-card .btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.portal-card .btn:hover {
    transform: translateX(5px);
}

.portal-card .btn-primary {
    background-color: #0056b3;
    border: none;
}

.portal-card .btn-primary:hover {
    background-color: #004085;
}

.portal-card .btn-success {
    background-color: #28a745;
    border: none;
}

.portal-card .btn-success:hover {
    background-color: #218838;
}

#errorMessage {
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.text-center a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-center a:hover {
    color: #0056b3 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portal-card .portal-icon {
        font-size: 2rem;
    }
    
    .auth-form-light {
        padding: 2rem 1.5rem !important;
    }
    
    .brand-logo img {
        max-width: 80px;
    }
}

/* Loading animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #0056b3;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
