/* ==========================================================================
   Verses Theme Signup Page Stylesheet
   ========================================================================== */

body {
    font-family: 'Noto Serif Bengali', serif;
    margin: 0;
    background: #fcfbf8;
}

.verses-signup-wrapper .container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Breadcrumb Navigation */
.signup-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    color: #666;
    font-size: 15px;
}

.signup-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.signup-breadcrumb a:hover {
    color: #5a3629;
}

/* Main Outer Container */
.signup-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #fff;
    border: 1px solid #f1ece4;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(61, 41, 27, 0.05);
    margin-bottom: 70px;
    padding: 16px;
    gap: 16px;
    box-sizing: border-box;
}

/* Panels */
.signup-form-panel {
    padding: 40px 36px;
    background: #fff;
}

.signup-visual-panel {
    padding: 40px 36px;
    background: linear-gradient(180deg, #fefcf9 0%, #fbf0e5 100%);
    border-radius: 16px;
    border: 1px solid #f2ebdf;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Form Headings */
.signup-form-panel h2 {
    margin: 0;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

/* Login Prompt below Title */
.signup-login-prompt {
    text-align: center;
    font-size: 15px;
    margin: 8px auto 16px;
    color: #5b5b5b;
}

.signup-login-prompt .or-text {
    color: #a96f53;
    font-weight: 700;
}

.signup-login-prompt a {
    color: #a96f53;
    font-weight: 700;
    text-decoration: none;
}

.signup-login-prompt a:hover {
    text-decoration: underline;
}

.signup-intro {
    margin: 12px auto 24px;
    max-width: 460px;
    text-align: center;
    color: #5b5b5b;
    font-size: 15px;
    line-height: 1.6;
}

/* Role Selector Section */
.signup-role-title {
    font-size: 14px;
    color: #111;
    margin: 16px 0 12px;
    font-weight: 700;
}

.role-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.role-card {
    display: block;
    width: 100%;
    max-width: 320px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 14px 16px 42px;
    background: #fff;
    cursor: pointer;
    position: relative;
    min-height: 84px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.role-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Unchecked Checkbox state */
.role-card::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 18px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #b5b5b5;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

/* Active / Checked state */
.role-card.active {
    border-color: #105f38;
    background: #fff;
}

.role-card.active::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #fff;
    background: #105f38;
    border-color: #105f38;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 18px;
    margin-bottom: 4px;
}

.role-desc {
    display: block;
    font-size: 11.5px;
    line-height: 1.4;
    color: #666;
}

/* Social Logins */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.social-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e2e2;
    background: #fff;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    height: 50px;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.social-btn:hover {
    background-color: #fafafa;
    border-color: #cccccc;
}

.social-btn i {
    font-size: 18px;
    margin-right: 10px;
}

.google-btn i {
    color: #ea4335;
}

.verses-btn i {
    color: #1877f2;
}

.email-btn i {
    color: #555555;
}

/* Divider */
.or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #888;
    font-size: 15px;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

/* Form Fields */
.signup-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.signup-form label span {
    color: #c2410c;
}

.field {
    position: relative;
    margin-bottom: 16px;
}

.field input {
    width: 100%;
    height: 50px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 0 46px 0 16px;
    font-family: inherit;
    font-size: 15px;
    color: #222;
    outline: none;
    background: #fcfcfc;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.field input::placeholder {
    color: #999;
}

.field input:focus {
    border-color: #6a3b29;
    box-shadow: 0 0 0 3px rgba(106, 59, 41, 0.1);
    background: #fff;
}

.field i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
    z-index: 10;
}

.field i.toggle-password {
    cursor: pointer;
}

/* Terms & Conditions Checkbox */
.terms-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    cursor: pointer;
}

.terms-check input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #6a3b29;
    flex: 0 0 auto;
    border-radius: 4px;
}

.terms-check span {
    color: #444;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #5a3629;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(90, 54, 41, 0.15);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover {
    background: #4a2b21;
}

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

/* Bottom Login Text */
.login-text {
    text-align: center;
    margin: 20px 0 0;
    font-size: 15px;
    color: #555;
}

.login-text a {
    color: #5a3629;
    font-weight: 700;
    text-decoration: none;
}

.login-text a:hover {
    text-decoration: underline;
}

/* Quote Block */
.quote-block {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.quote-block i {
    font-size: 64px;
    color: #5a3629;
    display: block;
    margin-bottom: 0px;
    line-height: 1;
    opacity: 0.8;
}

.quote-block h3 {
    margin: 10px 0 14px;
    font-size: 26px;
    line-height: 1.4;
    color: #111;
    font-weight: 700;
}

.quote-block::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #dcd6cd;
    margin: 16px auto;
}

.quote-block p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* Illustration */
.signup-visual-panel img {
    width: 100%;
    max-width: 320px;
    margin: 24px auto;
    display: block;
    object-fit: contain;
}

/* Feature list */
.feature-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a3629;
    flex: 0 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 18px;
}

.feature-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.feature-item p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1100px) {
    .signup-shell {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .signup-form-panel {
        padding: 30px 20px;
    }

    .signup-visual-panel {
        padding: 36px 24px;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .signup-visual-panel img {
        max-height: 300px;
    }
}

@media (max-width: 799px) {
    .signup-form-panel h2 {
        font-size: 24px;
    }

    .signup-intro,
    .quote-block p,
    .login-text,
    .social-btn,
    .terms-check,
    .signup-form label,
    .signup-role-title,
    .feature-item p {
        font-size: 14px;
    }

    .quote-block h3 {
        font-size: 20px;
    }

    .feature-item h4 {
        font-size: 14px;
    }
}

/* ==========================================================================
   Dark Mode Overrides
   ========================================================================== */

body.dark-mode {
    background: #121212;
}

body.dark-mode .signup-breadcrumb {
    color: #a0a0a0;
}

body.dark-mode .signup-breadcrumb a:hover {
    color: #bb86fc;
}

body.dark-mode .signup-shell {
    background: #1e1e1e;
    border-color: #2c2c2c;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .signup-form-panel {
    background: #1e1e1e;
}

body.dark-mode .signup-visual-panel {
    background: linear-gradient(180deg, #251f1c 0%, #1c1816 100%);
    border-color: #2d2623;
}

body.dark-mode .signup-form-panel h2,
body.dark-mode .role-title,
body.dark-mode .quote-block h3,
body.dark-mode .feature-item h4 {
    color: #ffffff;
}

body.dark-mode .signup-intro,
body.dark-mode .signup-login-prompt,
body.dark-mode .role-desc,
body.dark-mode .quote-block p,
body.dark-mode .feature-item p,
body.dark-mode .terms-check span,
body.dark-mode .login-text {
    color: #a0a0a0;
}

body.dark-mode .signup-login-prompt .or-text,
body.dark-mode .signup-login-prompt a {
    color: #bb86fc;
}

body.dark-mode .signup-role-title,
body.dark-mode .signup-form label {
    color: #e0e0e0;
}

body.dark-mode .role-card {
    background: #242424;
    border-color: #333333;
}

body.dark-mode .role-card::before {
    border-color: #666;
    background: #242424;
}

body.dark-mode .role-card.active {
    border-color: #bb86fc;
    background: #242424;
}

body.dark-mode .role-card.active::before {
    background: #bb86fc;
    border-color: #bb86fc;
}

body.dark-mode .social-btn {
    border-color: #333333;
    background: #242424;
    color: #e0e0e0;
}

body.dark-mode .social-btn:hover {
    background-color: #2d2d2d;
    border-color: #444444;
}

body.dark-mode .google-btn i {
    color: #ea4335;
}

body.dark-mode .verses-btn i {
    color: #1877f2;
}

body.dark-mode .email-btn i {
    color: #a0a0a0;
}

body.dark-mode .or-divider {
    color: #888888;
}

body.dark-mode .or-divider::before,
body.dark-mode .or-divider::after {
    background: #333333;
}

body.dark-mode .field input {
    background: #242424;
    border-color: #333333;
    color: #ffffff;
}

body.dark-mode .field input:focus {
    border-color: #bb86fc;
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.15);
}

body.dark-mode .field i {
    color: #a0a0a0;
}

body.dark-mode .terms-check input {
    accent-color: #bb86fc;
}

body.dark-mode .submit-btn {
    background: #bb86fc;
    color: #121212;
    box-shadow: 0 4px 12px rgba(187, 134, 252, 0.2);
}

body.dark-mode .submit-btn:hover {
    background: #a370db;
}

body.dark-mode .login-text a {
    color: #bb86fc;
}

body.dark-mode .quote-block i {
    color: #bb86fc;
}

body.dark-mode .quote-block::after {
    background: #444;
}

body.dark-mode .feature-icon {
    background: #242424;
    color: #bb86fc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
