/* Auth Pages Styles - AtanRBX (Login, Register, forgotpassword, Resetpassword) */

.auth {
    padding-top: 140px;
    padding-bottom: 140px;
    background-color: rgba(252, 252, 252, 0.5);
}

.auth .auth-content {
    background-color: #2f74f5;
    border-radius: 24px;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    min-height: auto;
    padding: 30px 20px;
    position: relative; /* For absolute logo placement */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .auth .auth-content {
        padding: 50px;
    }
}


.auth .auth-content .auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center logo with title/subtitle block */
    width: 100%;
    margin-bottom: 15px; /* Reduced gap as requested */
    gap: 20px;
}

.auth .auth-content .auth-header-text {
    flex: 1;
    text-align: left;
}

.auth .auth-content .auth-logo-container {
    height: 75px;
    width: 75px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none; /* Removed shadow as requested */
    flex-shrink: 0;
}

.auth .auth-content .auth-logo-brand {
    height: 50px; /* Increased size */
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .auth {
        padding-top: 110px; /* Increased gap from navbar on mobile */
        padding-bottom: 60px; /* Reduced gap to footer on mobile */
    }

    .auth .auth-content .auth-header {
        gap: 15px;
    }
    
    .auth .auth-content .auth-logo-container {
        height: 60px;
        width: 60px;
    }
    
    .auth .auth-content .auth-logo-brand {
        height: 40px;
    }
}

.auth .auth-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    letter-spacing: -1px;
    text-align: left;
}

.auth .auth-content .auth-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.auth .auth-content .auth-group {
    margin-top: 0;
    width: 100%;
}

.auth .auth-content .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    display: block;
    text-transform: none;
}

.auth .auth-content .input-group-text {
    background-color: #fff;
    border: none;
    color: #2f74f5;
    border-radius: 12px 0 0 12px;
    padding-left: 15px;
}

.auth .auth-content .form-control {
    border-radius: 12px;
    border: none;
    padding: 14px 18px;
    background-color: #fff;
    color: #2f74f5;
    font-weight: 500;
    font-size: 15px;
}

.auth .auth-content .input-group .form-control {
    border-radius: 0 12px 12px 0;
}

.auth .auth-content .form-control:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    border: none;
}

.auth .auth-content .form-control::placeholder {
    color: rgba(47, 116, 245, 0.5);
}

.auth .auth-content .btn-primary {
    background-color: #fff !important;
    color: #2f74f5 !important; /* Changed to Blue as requested */
    font-weight: 800;
    border-radius: 15px;
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    transition: all 0.3s ease;
}

.auth .auth-content .btn-primary i {
    color: #2f74f5 !important; /* Changed to Blue as requested */
    font-size: 20px;
}

.auth .auth-content .btn-primary:hover {
    background-color: #f0f0f0 !important;
    color: #2f74f5 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auth-agreement-text {
    text-align: left; /* Changed from center to left as requested */
    margin: 5px 0;
    font-size: 13px; /* Slightly increased for better legibility */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.auth-agreement-text a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}
.auth .auth-content .row {
    margin-left: -10px;
    margin-right: -10px;
}

.auth .auth-content .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}


.auth-question {
    text-align: center;
}

.auth-header .auth-agreement-text {
    margin-top: 5px;
    display: block;
}

.auth-header .auth-agreement-text a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.auth-question p {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0;
}
