/* 
 * BIEN Payment Solutions - Authentication Pages Custom Styles
 * Enhanced styling for login, registration, and auth pages
 */

/* Ensure body and html have no white background showing */
html {
    height: 100%;
    background-color: #052648 !important;
}

body.auth-body {
    min-height: 100%;
    background-color: #052648 !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.auth-body,
body.auth-body > * {
    background-color: transparent !important;
}

/* Make auth-page-wrapper position relative to contain absolute background */
.auth-page-wrapper {
    position: relative;
    min-height: 100vh;
    height: auto;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Extend the colored background to cover the entire wrapper */
.auth-one-bg-position {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    z-index: 0;
}

/* Ensure background extends beyond viewport if content is taller */
.auth-page-wrapper {
    background-color: transparent;
    overflow: visible;
}

/* Ensure bg-overlay covers the full height */
.auth-one-bg-position .bg-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /* Background color - adjust as needed */
    background: linear-gradient(to right, #052648, #052648) !important;
    opacity: 0.9;
}

/* Responsive adjustments for mobile */
@media (max-width: 767.98px) {
    .auth-one-bg-position {
        height: 100% !important;
        min-height: 100%;
    }
}

/* Ensure proper z-index layering */
.auth-page-content {
    position: relative;
    z-index: 10;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Reduce spacing between form and footer */
.auth-page-content .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.auth-page-content .row:last-child {
    margin-bottom: 0 !important;
}

.auth-page-content .card {
    margin-bottom: 0 !important;
}

/* Footer styling - white text and proper z-index */
.auth-page-wrapper .footer {
    position: relative;
    z-index: 10;
    color: #ffffff !important;
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0 !important;
}

.auth-page-wrapper .footer p,
.auth-page-wrapper .footer small,
.auth-page-wrapper .footer a {
    color: #ffffff !important;
}

.auth-page-wrapper .footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Enhanced card styling for auth pages */
.auth-page-wrapper .card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: none;
}

/* Smooth transitions for interactive elements */
.auth-page-wrapper .btn {
    transition: all 0.3s ease;
}

.auth-page-wrapper .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

