/* assets/css/signup-modal.css */

/* Modal Styling */
.signup-modal {
    border-radius: 24px;
    border: 1px solid rgba(153, 153, 153, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
    padding: 20px;
    max-height: 628px;
}

.modal-dialog {
    max-width: 544px;
}

.modal-body {
    padding: 20px 40px 20px;
}

/* Modal Title */
.modal-title {
    font-family: 'Sofia Sans';
    font-size: 32px;
    font-weight: 500;
    line-height: 41px;
    color: rgba(17, 17, 17, 1);
}

.modal-subtitle {
    font-family: 'Sofia Sans';
    font-size: 16px;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
}

/* Sign In Buttons */
.signin-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 40px;
    font-family: 'Sofia Sans';
    font-size: 22px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid;
    height: 64px;
    position: relative;
}

.signin-btn .btn-icon {
    width: 24px;
    height: 24px;
}

/* Google Button */
.google-btn {
    border: 2px solid transparent;
    border-radius: 40px;
    background: linear-gradient(rgba(10, 16, 32, 1), rgba(10, 16, 32, 1)) padding-box, linear-gradient(90deg, #8660D3 0%, #3BB4DB 100%) border-box;
    color: rgba(255, 255, 255, 1);
    height: 64px;
}

.google-btn:hover {
    border: 2px solid transparent;
    border-radius: 40px;
    background: linear-gradient(rgba(10, 16, 32, 1), rgba(10, 16, 32, 1)) padding-box, linear-gradient(90deg, #8660D3 0%, #3BB4DB 100%) border-box;
    color: rgba(255, 255, 255, 1);
    /* transform: translateY(-1px); */
    /* box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3); */
}

/* Apple Button */
.apple-btn {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(51, 51, 51, 1);
    color: rgba(51, 51, 51, 1);
    font-family: 'Sofia Sans';
    font-size: 22px;
    font-weight: 400;
}

.apple-btn:hover {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(51, 51, 51, 1);
    color: rgba(51, 51, 51, 1);
}

/* Email Button */
.email-btn {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 1);
    color: rgba(17, 17, 17, 1);
    font-family: 'Sofia Sans';
    font-size: 22px;
    font-weight: 400;
}

.email-btn:hover {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 1);
    color: rgba(17, 17, 17, 1);
}

/* Divider */
.divider {
    /* margin: 5px 0; */
}

.divider hr {
    border: 1px solid rgba(204, 204, 204, 1);
    margin: 0;
}

/* Terms and Privacy Text */
.terms-text {
    color: rgba(102, 102, 102, 1);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Sofia Sans';
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.terms-link {
    color: rgba(51, 51, 51, 1);
    text-decoration: underline;
    font-weight: 400;
}

/* .terms-link:hover {
    color: #7c3aed;
} */

/* Login Text */
.login-text {
    color: rgba(51, 51, 51, 1);
    font-size: 16px;
    font-weight: 400;
    font-family: 'Sofia Sans';
}

.login-link {
    color: rgba(17, 17, 17, 1);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Sofia Sans';
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* .login-link:hover {
    color: #7c3aed;
} */

/* Close Button */
.btn-close {
    background: transparent;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.btn-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 576px) {
    .modal-body {
        padding: 20px 24px 32px;
    }

    /* .modal-title {
        font-size: 20px;
    } */

    /* .signin-btn {
        padding: 14px 20px;
        font-size: 16px;
    } */
}

/* second modal styles */
/* Close Button */
.modal-content.signup-modal.email-signup {
    max-height: 680px;
}

.email-sign-up {
    padding: 0px 40px 20px;
}

.modal-header-back {
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    z-index: 1;
    padding: 0;
}

.btn-back .btn-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.btn-close:hover {
    opacity: 1;
}

/* Back Button */
.btn-back {
    background: transparent;
    border: none;
    padding: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-back:hover {
    background: transparent;
}

/* Form Styling */
.form-label {
    color: rgba(0, 0, 0, 1);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 0.2px;
}

.email-input,
.password-input {
    background: transparent;
    border: 1px solid rgba(216, 218, 220, 1);
    border-radius: 10px;
    padding: 18px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 0.2px;
}

.email-input:focus,
.password-input:focus {
    border-color: rgba(216, 218, 220, 1);
    border: 1px solid rgba(216, 218, 220, 1);
    box-shadow: none;
    outline: none;
}

.email-input::placeholder,
.password-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.btn-toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 0px;
    /* font-size: 1.2rem; */
    /* transition: color 0.2s; */
}

.eye-icon {
    width: 17px;
}

.btn-toggle-password:hover {
    color: #64748b;
}

:not(.btn-check)+.btn:active {
    background: rgba(0, 0, 0, 1) !important;
    color: rgba(255, 255, 255, 1) !important;

}

/* Login Button */
.login-btn {
    background: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
    border: none;
    padding: 17px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    /* transition: all 0.3s ease; */
}

.login-btn:hover {
    background: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
    /* transform: translateY(-2px); */
    /* box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3); */
}

/* Responsive Design */
@media (max-width: 576px) {
    .modal-body {
        padding: 20px 24px 32px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .signin-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .email-input,
    .password-input {
        padding: 14px 18px;
    }
}