/* Auth Pages Styling */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.register-container {
    min-height: 100vh;
    background-color: #fff;
    padding: 0;
    margin: 0;
}

/* Header styling */
.site-header {
    padding: 20px 0;
    margin-bottom: 15px;
    text-align: center;
}

.register-logo {
    padding: 0;
    margin-left: 0;
    text-align: left;
}

.register-logo img {
    max-height: 50px;
}

/* Content area styling */
.auth-content-row {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-content-wrapper {
    padding-right: 2rem;
    padding-left: 2rem;
}

.welcome-text h1 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    line-height: 56px;
    margin-bottom: 2rem;
    margin-top: 0;
    margin-left: 0.5rem;
}

.signup-image {
    margin-top: 1.5rem;
    max-width: 90%;
    margin-left: 0.5rem;
}

.signup-image img {
    max-width: 100%;
}

/* Vertical divider styling */
.vertical-divider {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    height: 400px;
    width: auto;
}

.register-form-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Form Elements */
.btn-google, .btn-phone {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s;
    font-size: 13px;
    height: 45px;
}

.btn-google:hover, .btn-phone:hover {
    background-color: #f8f9fa;
    color: #333;
}

.btn-google img, .btn-phone img {
    margin-right: 0.25rem;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.signin-options .row {
    margin-bottom: 1.5rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #6c757d;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
    margin: 0 10px;
}

.divider span {
    padding: 0 1rem;
    font-size: 14px;
    background-color: #fff;
    position: relative;
    white-space: nowrap;
}

/* Form styles */
.form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    font-size: 14px;
    height: 45px;
}

.form-control:focus, .form-select:focus {
    border-color: #3754A4;
    box-shadow: 0 0 0 0.2rem rgba(55, 84, 164, 0.15);
}

.form-control::placeholder {
    color: #aaa;
    font-size: 14px;
}

/* Password visibility toggle */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
}

/* Sign up button */
.btn-signup {
    background-color: #3754A4;
    color: white;
    border: none;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s;
    height: 48px;
}

.btn-signup:hover {
    background-color: #2d4680;
    color: white;
}

/* Terms checkbox */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
}

.form-check-input:checked {
    background-color: #3754A4;
    border-color: #3754A4;
}

.form-check-label {
    font-size: 14px;
    padding-left: 0.25rem;
}

.terms-link {
    color: #3754A4;
    text-decoration: none;
    font-weight: 500;
}

/* Login link */
.login-link, .forgot-password-link {
    color: #3754A4;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password-link {
    font-size: 14px;
    font-weight: 500;
}

.border-start, .vertical-line-container {
    position: relative;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .auth-content-row {
        padding: 20px 0;
        justify-content: center;
    }
    
    .welcome-text h1 {
        font-size: 34px;
        line-height: 48px;
    }
    
    .welcome-content-wrapper {
        padding: 0 1.5rem 0 3rem;
    }
    
    .register-form-container {
        max-width: 100%;
        padding: 2rem;
        margin: 0 auto;
    }
    
    .offset-lg-1 {
        margin-top: 2rem;
    }
    
    .divider-line {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .site-header {
        text-align: center;
        padding: 15px 0;
    }
    
    .register-logo {
        margin-left: 0;
    }
    
    .auth-content-row {
        padding: 10px 0;
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-content-wrapper {
        text-align: center;
        padding: 0 2rem;
    }
    
    .welcome-text h1 {
        font-size: 30px;
        line-height: 42px;
        text-align: center;
        margin-bottom: 1.5rem;
        margin-left: 0;
    }
    
    .signup-image {
        display: block;
        margin: 0 auto;
        max-width: 70%;
        margin-top: 1.5rem;
    }
    
    .register-form-container {
        padding: 2rem;
        margin: 0 auto;
        margin-top: 2rem;
        max-width: 450px;
    }
    
    .vertical-divider {
        display: none;
    }
}

@media (max-width: 576px) {
    .btn-google, .btn-phone {
        font-size: 12px;
        padding: 0.75rem 0.25rem;
    }
    
    .btn-google img, .btn-phone img {
        width: 16px;
        height: 16px;
    }
    
    .welcome-text h1 {
        font-size: 26px;
        line-height: 36px;
    }
    
    .signup-image {
        max-width: 85%;
    }
}

/* Terms & Conditions page */
.card {
    border-radius: 15px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card h1 {
    color: #333;
    font-weight: 700;
}

.card h4 {
    color: #3754A4;
    font-weight: 600;
    margin-top: 1.5rem;
}

.card p {
    color: #555;
    line-height: 1.6;
}

.card ul {
    color: #555;
    line-height: 1.6;
}

.card ul li {
    margin-bottom: 0.5rem;
}

.card .btn-outline-secondary {
    color: #3754A4;
    border-color: #3754A4;
    transition: all 0.3s;
}

.card .btn-outline-secondary:hover {
    background-color: #3754A4;
    color: white;
}

/* Terms Modal Styling */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.25rem 1.5rem;
}

.modal-header .modal-title {
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h5 {
    color: #3754A4;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.modal-body p, .modal-body li {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 1rem;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
}

.modal-footer .btn-primary {
    background-color: #3754A4;
    border-color: #3754A4;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.modal-footer .btn-primary:hover {
    background-color: #2d4680;
}

/* Forgot Password Styling */
.register-form-container h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.register-form-container p.text-muted {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
}

#verification-code {
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-align: center;
}

.alert-success {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    color: #388e3c;
}

/* Media queries for responsive styling */ 