/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500&family=Outfit:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
:root {
    --primary-gold: #D69A02;
    --primary-gold-hover: #b5952f;
    --text-white: #ffffff;
    --text-off-white: #f0f0f0;
    --input-bg: #fffbf2;
    --overlay-dark: rgba(0, 0, 0, 0.65);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

#tjl-login-wrapper {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
/*     position: fixed; */
    /* Changed to fixed to cover screen */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* Ensure it's on top if used as a modal/overlay */
    transition: background-image 0.5s ease-in-out;
}


#tjl-login-wrapper.tjl-step-1-bg {
    background-image: url('../images/back.png');
}

#tjl-login-wrapper.tjl-step-2-bg {
    background-image: url('../images/back2.png');
}

#tjl-login-wrapper.tjl-step-3-bg {
    background-image: url('../images/back3.png');
}

/* Dark Overlay */
/* #tjl-login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 0;
} */

.tjl-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 590px;
    padding: 40px 20px 20px 20px;
    text-align: center;
}

/* Typography */
.tjl-title,
.tjl-step-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tjl-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.tjl-step-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

p.tjl-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-off-white);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 300;
}

/* Icon */
.tjl-icon-wrapper {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.tjl-step-icon {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Card */
.tjl-login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
 
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-top: 2rem;
}
input#tjl-email-input {
    height: 48px;
    border-radius: 12px;
}
button.tjl-link-btn.tjl-back-to-email, button.tjl-link-btn.tjl-link-gold.tjl-resend-code {
    padding: 0px !important;
}
/* Form Elements */
.tjl-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.tjl-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
	font-weight:400;
    color: var(--text-off-white);
	font-family: 'Roboto', sans-serif;
}

.tjl-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background-color: var(--input-bg);
    color: #333;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.tjl-input:focus {
    box-shadow: 0 0 0 2px var(--primary-gold);
}

/* OTP Input */
.tjl-otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.tjl-otp-input {
    width: 48px !important;
    height: 56px !important;
    text-align: center;
    font-size: 2rem !important;
    font-weight: 600 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    color: #D69A02 !important;
}

/* Button */
.tjl-btn-primary {
    width: 100%;
    padding: 16px;
    background-image: url(../images/btn-back.png);
    background-position: center;
    background-repeat: no-repeat;
	background-size:cover;
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.tjl-btn-primary:hover {
    background-color: var(--primary-gold-hover);
}

.tjl-btn-primary:active {
    transform: scale(0.98);
}

/* Progress Bar */
.tjl-progress-container {
    width: 100%;
    max-width: 100%;
    margin: 0 0 2rem 0;
    text-align: left;
}

.tjl-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.tjl-progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}
input#tjl-display-email-step-2 {
    height: 50px !important;
    border-radius: 8px !important;
}
.tjl-progress-bar-fill {
    height: 100%;
    background-color: var(--primary-gold);
    border-radius: 50px;
    transition: width 0.5s ease;
}

/* Footer Links */
.tjl-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid #000;
    padding-top: 24px;
}

.tjl-link-btn {
    background: none;
    border: none;
    color: var(--text-off-white);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.tjl-link-btn:hover {
    color: var(--primary-gold);
	background: transparent !important;
}

.tjl-link-gold {
    color: var(--primary-gold);
}

/* Utility */
.tjl-hidden {
    display: none !important;
}

.tjl-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Toast */
.tjl-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.tjl-toast.tjl-show {
    transform: translateX(0);
}


/* new css  */

@media only screen and (max-width: 600px) {

.tjl-login-card {
    padding: 30px 20px;
}
.tjl-step-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.tjl-otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.tjl-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin: auto;
}
.tjl-card-footer {
    font-size: 0.8rem;
}
    .tjl-otp-input {
        width: 38px !important;
        height: 42px !important;
    }
}

@media only screen and (max-width: 375px) {

.tjl-title {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    margin: auto;
}
.tjl-card-footer {
    font-size: 0.8rem;
}
.tjl-link-gold, .tjl-link-btn.tjl-back-to-email {
    font-size: 0.8rem;
}
    .tjl-step-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
}