/* ============================================
   AUTH PAGES REVAMP (Login/Register)
   Brand Colors: #8C52FF, #D07CE9, #D4BFF8, #F7F8FF
   ============================================ */

/* Container */
.tk-loginconatiner {
    background: #ffffff !important;
    min-height: 100vh;
}

.tk-login-content {
    background: #ffffff;
    padding: 24px;
}

/* Logo and description */
.tk-login-info {
    text-align: center;
    margin-bottom: 20px;
}

.tk-login-info img {
    max-height: 32px;
    margin-bottom: 10px;
}

.tk-login-info span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

/* Form styling */
.tk-loginform,
.tk-signupform {
    width: 100%;
}

/* Labels */
.tk-loginform .tk-label,
.tk-signupform .tk-label {
    font-weight: 500;
    color: #1e293b;
    font-size: 13px;
    margin-bottom: 4px;
}

/* Remove wrapper borders */
.tk-placeholderholder {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Input fields */
.tk-loginform input[type="text"],
.tk-loginform input[type="email"],
.tk-loginform input[type="password"],
.tk-signupform input[type="text"],
.tk-signupform input[type="email"],
.tk-signupform input[type="password"],
.tk-themeform input.form-control,
.tk-loginform .tk-placeholderholder input,
.tk-signupform .tk-placeholderholder input {
    width: 100%;
    padding: 8px 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 13px;
    color: #1e293b;
    background: #ffffff !important;
    transition: all 0.2s ease;
    height: auto !important;
}

.tk-loginform input:focus,
.tk-signupform input:focus,
.tk-themeform input.form-control:focus {
    border-color: #8C52FF !important;
    box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.1) !important;
    outline: none !important;
}

.tk-loginform input::placeholder,
.tk-signupform input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

/* Form groups - tighter spacing */
.tk-themeform__wrap .form-group,
.tk-themeform__wrap .form-group-half {
    margin-bottom: 12px !important;
}

/* Radio buttons (Client/Freelancer) */
.form-group-radio {
    display: flex;
    gap: 16px;
}

.tk-form-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tk-form-checkbox input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #8C52FF;
    cursor: pointer;
}

.tk-form-checkbox label {
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    margin: 0;
}

/* Checkbox styling */
.tk-login-condition {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px !important;
}

.tk-login-condition input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #8C52FF;
    margin-top: 2px;
    flex-shrink: 0;
}

.tk-login-condition label {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.tk-login-condition a {
    color: #8C52FF;
    text-decoration: none;
    font-weight: 500;
}

.tk-login-condition a:hover {
    text-decoration: underline;
}

/* Primary button */
.tk-popup-terms button,
.tk-popup-terms .tk-btn,
.tk-loginform button[type="submit"],
.tk-signupform button[type="submit"] {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #8C52FF 0%, #D07CE9 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tk-popup-terms button:hover,
.tk-popup-terms .tk-btn:hover,
.tk-loginform button[type="submit"]:hover,
.tk-signupform button[type="submit"]:hover {
    background: linear-gradient(135deg, #7B3FEE 0%, #C56BD8 100%) !important;
    transform: translateY(-1px);
}

/* Bottom links */
.tk-lost-password {
    text-align: center;
    margin-top: 16px;
}

.tk-lost-password span {
    color: #64748b;
    font-size: 13px;
}

.tk-lost-password a {
    color: #8C52FF;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.tk-lost-password a:hover {
    text-decoration: underline;
}

/* reCAPTCHA container */
.g-recaptcha {
    margin-bottom: 12px;
}

/* Right side banner - no background */
.tk-login-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.tk-login-banner figure {
    margin: 0;
    padding: 20px;
}

.tk-login-banner img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .tk-login-content {
        padding: 20px 16px;
    }
    
    .tk-login-banner {
        display: none;
    }
}

@media (max-width: 576px) {
    .tk-login-content {
        padding: 16px 12px;
    }
    
    .form-group-radio {
        flex-direction: column;
        gap: 8px;
    }
}
