
/* V2 Pages - Common Styles for Login and Schedule Call Pages */
:root { --primary-color: #642a38; --primary-hover: #4d2029; --accent-color: #f5a623; --text-dark: #333; --text-light: #666; --text-lighter: #999; --border-color: #E4E4E4; --bg-light: #f8f9fa; --bg-cream: #FFF1EA; }

/* Common Form Styles */
.form-label-custom { display: block; color: #2c2c2c; font-size: 14px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.2px; }
.form-control-custom { width: 100%; padding: 15px 18px; border: 1px solid #e8e8e8; border-radius: 12px; font-size: 15px; background: #fafafa; transition: all 0.3s ease; color: var(--text-dark); }
.form-control-custom:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px rgba(100, 42, 56, 0.05); }
.form-control-custom::placeholder { color: #aaa; }
.form-control-custom.is-invalid { border-color: #dc3545; background: #fff; }

/* Common Button Styles */
.btn-primary-login { width: 100%; padding: 16px; background: var(--primary-color); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(100, 42, 56, 0.2); }
.btn-primary-login:hover { background: var(--primary-hover); box-shadow: 0 6px 16px rgba(100, 42, 56, 0.3); transform: translateY(-1px); }
.btn-primary-login:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; }
.btn-secondary-login { width: 100%; padding: 15px; background: transparent; color: var(--primary-color); border: 2px solid #e0e0e0; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-secondary-login:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-outline-primary { padding: 15px; background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-outline-primary:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(100, 42, 56, 0.3); }

/* Common Modal Styles */
.modal-content-custom { border-radius: 20px; border: none; }
.modal-header-custom { border: none; padding: 30px 30px 10px 30px; }
.modal-body-custom { padding: 0 40px 40px 40px; }
.modal-title-custom { font-size: 24px; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.modal-subtitle { font-size: 15px; color: var(--text-light); margin-bottom: 25px; }
.close-custom { position: absolute; right: 20px; top: 20px; font-size: 28px; opacity: 0.5; border: none; background: transparent; cursor: pointer; }

/* Common OTP Input Styles */
.otp-input-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.otp-digit { width: 50px; height: 50px; text-align: center; font-size: 20px; font-weight: 600; border: 2px solid var(--border-color); border-radius: 10px; background: var(--bg-light); }
.otp-digit:focus { outline: none; border-color: var(--primary-color); background: #fff; }

/* Common Utility Classes */
.text-center-custom { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-15 { margin-top: 15px; }
.text-smaller { font-size: 13px; }
.text-danger { color: #dc3545; }

/* Common Info & Link Styles */
.info-text { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #666; margin-top: 14px; line-height: 1.5; }
.info-icon { width: 18px; height: 18px; border: 2px solid #999; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.link-custom { color: var(--primary-color); text-decoration: none; font-weight: 600; font-size: 14px; }
.link-custom:hover { text-decoration: underline; }

/* Login Page Styles */
.login-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card { border-radius: 40px 40px 0 0; background: #FFFFFF 0% 0% no-repeat padding-box; box-shadow: 0px 0px 40px #00000033; max-width: 520px; width: 100%; padding: 50px 45px 20px 45px; }
.login-footer-card { max-width: 520px; width: 100%; text-align: center; background: #F4F4F4 0% 0% no-repeat padding-box; border-radius: 0px 0px 40px 40px; opacity: 1; }
.login-logo { text-align: center; margin-bottom: 35px; }
.login-logo img { height: 65px; max-width: 100%; }
.login-tabs { display: flex; gap: 8px; margin-bottom: 35px; background: #f8f8f8; padding: 6px; border-radius: 14px; }
.login-tab { flex: 1; padding: 13px 20px; background: transparent; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; color: #777; cursor: pointer; transition: all 0.3s ease; }
.login-tab.active { background: #fff; color: var(--text-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
.footer-text { text-align: center; font-size: 13px; color: #555; margin-top: 0; padding: 16px 20px; line-height: 1.6; }
.footer-text a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.footer-text a:hover { text-decoration: underline; }
.copyright-text { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 20px; }

/* Old styles for backward compatibility */
.otpfield { max-width: 200px; }
.partitioned1 { padding-left: 12px; letter-spacing: 30px; border: 0; background-image: linear-gradient(to left, black 70%, rgba(255, 255, 255, 0) 0%); background-position: bottom; background-size: 40px 1px; background-repeat: repeat-x; background-position-x: 30px; width: 240px; outline: none; }
option:first-child { color: #999; }

/* Password Requirements Styles */
.password-requirement.valid { color: #4CAF50 !important; }
.password-requirement.valid .req-icon::before { content: "✓"; color: #4CAF50; font-weight: bold; }
.password-requirement .req-icon::before { content: "○"; }

/* Exclusive Subscriber Access Modal Styles */
.subscriber-access-modal .modal-dialog { max-width: 600px; }
.subscriber-access-modal .modal-content-custom { padding: 50px 40px; text-align: center; border-radius: 24px; }
.subscriber-icon { width: 120px; height: 120px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.subscriber-access-modal h2 { font-size: 28px; font-weight: 700; color: var(--primary-color); margin-bottom: 20px; }
.subscriber-access-modal p { font-size: 16px; color: var(--text-light); margin-bottom: 15px; line-height: 1.6; }
.subscriber-access-modal .subscriber-message { font-size: 15px; color: var(--text-dark); margin-bottom: 35px; font-weight: 500; }
.subscriber-access-modal .btn-action-group { display: flex; gap: 15px; margin-top: 30px; }
.subscriber-access-modal .btn-action-group button { flex: 1; }

/* Schedule Call Page Styles */
.schedule-call-container { min-height: 100vh; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 40px 20px; }
.schedule-call-wrapper { margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.schedule-call-card { background: #FFFFFF; border-radius: 20px; padding: 20px; border: 1px solid #DEDEDE; display: flex; flex-direction: column; }
.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 20px; font-weight: 700; color: var(--text-dark); }
.section-header svg { width: 24px; height: 24px; }

/* Date & Time Selection Styles */
.date-selection-wrapper { margin-bottom: 30px; }
.date-scroll-wrapper { position: relative; display: flex; align-items: center; gap: 10px; }
.scroll-arrow { background: var(--primary-color); color: white; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all 0.3s ease; z-index: 10; }
.scroll-arrow:hover { background: var(--primary-hover); transform: scale(1.1); }
.scroll-arrow:disabled { background: #ccc; cursor: not-allowed; transform: scale(1); }
.date-scroll-container { display: flex; gap: 10px; overflow-x: hidden; scroll-behavior: smooth; padding: 10px 0; flex: 1; }
.date-scroll-container::-webkit-scrollbar { height: 0; }
.date-option { min-width: 95px; cursor: pointer; }
.date-option input[type="radio"] { display: none; }
.date-option label { display: block; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: all 0.3s ease; background: #fff; }
.date-option input[type="radio"]:checked + label { background: #FFE8E8; border: 1px solid #FFF; color: var(--primary-color); }
.date-day { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.time-scroll-wrapper { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.time-slots-container { display: flex; gap: 10px; overflow-x: hidden; scroll-behavior: smooth; padding: 10px 0; flex: 1; }
.time-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 30px; }
.time-slot { position: relative; min-width: 100px; }
.time-slot input[type="radio"] { display: none; }
.time-slot label { display: block; padding: 12px; text-align: center; border: 1px solid var(--border-color); border-radius: 10px; cursor: pointer; transition: all 0.3s ease; }
.time-slot input[type="radio"]:checked + label { background: #FFE8E8; border: 1px solid #FFF; color: var(--primary-color); }
.preferences-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.preference-option { position: relative; }
.preference-option input[type="radio"] { display: none; }
.preference-option label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px; border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: all 0.3s ease; font-weight: 600; font-size: 13px; min-height: 40px; }
.preference-option label img { width: 24px; height: 24px; }
.preference-option input[type="radio"]:checked + label { background: #FFE8E8; border: 1px solid #FFF; color: var(--primary-color); }

/* Location Display */
.location-display { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #E2FCDD; border-radius: 10px; margin-bottom: 20px; }
.location-display img { width: 20px; height: 20px; }
.location-text { font-size: 13px; font-weight: 600; color: #48A037; }

/* Message Box */
.message-box { width: 100%; min-height: 100px; padding: 15px; border: 1px solid var(--border-color); border-radius: 12px; font-size: 14px; resize: vertical; font-family: inherit; }
.message-box:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(100, 42, 56, 0.05); }

/* Meeting Note */
.meeting-note { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 14px; color: var(--text-light); }
.meeting-note i { font-size: 18px; }

/* Pincode Validation */
.pincode-wrapper { position: relative; }
.validate-pincode-btn { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 0; }
.validate-pincode-btn img { width: 20px; height: 20px; }

/* Grid Layouts */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Full Width Message Section */
.message-section { grid-column: 1 / -1; background: #fff; border-radius: 20px; margin-top: 10px; }

/* Responsive Styles */
@media (max-width: 1024px) {
    .schedule-call-wrapper { grid-template-columns: 1fr; }
    .preferences-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .login-container { padding: 20px; }
    .login-card { padding: 35px 25px; border-radius: 20px; }
    .login-logo img { height: 55px; }
    .otp-digit { width: 45px; height: 45px; font-size: 18px; }
    .subscriber-access-modal .modal-content-custom { padding: 40px 25px; }
    .subscriber-access-modal h2 { font-size: 24px; }
    .subscriber-icon { width: 80px; height: 80px; font-size: 40px; }
    .subscriber-access-modal .btn-action-group { flex-direction: column; }
    .schedule-call-container { padding: 20px 10px; }
    .preferences-grid { grid-template-columns: 1fr; }
    .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2-cols { grid-template-columns: 1fr; }
    .scroll-arrow { width: 28px; height: 28px; }
    .scroll-arrow svg { width: 14px; height: 14px; }
}
