/* Signup page layout */
html, body {
    background: #faf7f2;
}

.signup-container {
    color: #333;
}

.signup-layout {
    align-items: stretch;
}

.signup-width {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

.signup-form-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 18px;
}

.plan-card {
    border-radius: 18px;
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    padding: 18px 16px;
}

.plan-card.selectable {
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card.selectable.selected {
    border: 3px solid #f26f21;
    box-shadow: 0 10px 24px rgba(242,111,33,0.15);
}

.check-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f26f21;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

@media (max-width: 575px) {
    .check-badge {
        right: -8px;
        top: -8px;
        width: 32px;
        height: 32px;
        font-size: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
}

.plan-card.selectable.selected .check-badge {
    display: flex;
}

.free-card {
    border-color: #f8cba2;
    background: #fffaf4;
}

.feature-grid .col-6 {
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 8px 10px;
}

.feature-item {
    background: #fff;
    border: 1px solid #e2e6e9;
    border-radius: 10px;
    padding: 10px 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

@media (max-width: 575px) {
    .feature-item {
        padding: 10px 6px;
    }
}

.b2c-card {
    border-color: #d7e7db;
    background: #f7fbf8;
}

.bg-green-light {
    background: #e8f6ec;
}

.free-card .check-badge {
    background: #f26f21;
}

.b2c-card .check-badge {
    background: #2e8b57;
}

.b2c-card.selectable.selected {
    border-color: #2e8b57;
    box-shadow: 0 10px 24px rgba(46,139,87,0.15);
}

.icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.bg-orange-light { background: #ffe9d6; }
.text-orange { color: #f26f21; }
.text-success-dark { color: #2e8b57; }
.bg-success-soft { background: #e8f6ec; }

.feature-pill {
    background: #eef3f0;
    color: #2e8b57;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 600;
}

.plan-tile {
    border: 1px solid #d9e2dc;
    border-radius: 12px;
    background: #fff;
    padding: 10px 14px;
    min-width: 150px;
    font-weight: 600;
    color: #34423b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    text-align: center;
}

.plan-tile .tile-icon {
    font-size: 20px;
    margin-bottom: 4px;
    color: #2e8b57;
}

.plan-tiles {
    gap: 14px !important;
}

/* Desktop: 3 per row */
.plan-tiles .plan-tile {
    width: calc(33.333% - 10px);
}

@media (max-width: 991px) {
    .plan-tiles .plan-tile {
        width: calc(50% - 7px);
    }
}

@media (max-width: 575px) {
    .plan-tiles .plan-tile {
        width: 100%;
    }
}

/* Select2 pill styling for timezone */
.select2-timezone + .select2 .select2-selection--single {
    height: 48px;
    border-radius: 999px;
    border-color: #dee2e6;
    padding: 8px 16px;
}

.select2-timezone + .select2 .select2-selection__rendered {
    line-height: 30px;
    color: #333;
    padding-left: 0;
}

.select2-timezone + .select2 .select2-selection__arrow {
    height: 100%;
    right: 12px;
}

@media (max-width: 575px) {
    .plan-card {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .b2c-card {
        background: #f2f8f4;
    }

    .plan-tile {
        min-width: 100%;
        text-align: left;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .plan-tile .tile-icon {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .plan-stack {
        gap: 14px !important;
    }

    .feature-pill {
        font-size: 0.9rem;
        padding: 7px 12px;
    }
}

.plan-tile.active {
    border-color: #2e8b57;
    background: #e8f6ec;
    color: #2e8b57;
}

/* Social buttons styling */
.social-buttons { margin: 1rem 0; }

.social-btn {
    display: flex;
    align-items: stretch;
    min-width: 135px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.social-btn .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
}

.social-btn .text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    flex-grow: 1;
}

.social-btn.disabled-plan {
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.2);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Legacy disabled styles (setActionsDisabled) */
.disabled-social {
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.2);
}

.facebook-btn { min-width: 150px; }
.facebook-btn .icon-container { background-color: #324b81; }
.facebook-btn .text-container { background-color: #3b5998; }
.facebook-btn:hover .icon-container { background-color: #2d4374; }
.facebook-btn:hover .text-container { background-color: #344e86; }

.google-btn .icon-container { background-color: #c23321; }
google-btn .text-container { background-color: #dd4b39; }
.google-btn:hover .icon-container { background-color: #b02e1d; }
.google-btn:hover .text-container { background-color: #c23321; }

.line-btn .icon-container { background-color: #00a000; }
.line-btn .text-container { background-color: #00b900; }
.line-btn:hover .icon-container { background-color: #008e00; }
.line-btn:hover .text-container { background-color: #00a000; }

/* Divider styling */
.divider-with-circle {
    position: relative;
    text-align: center;
    margin: 40px 0;
}

.divider-with-circle hr {
    position: relative;
    height: 2px;
    border: 0;
    background-color: #f8982e;
    margin: 0;
}

.circle-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid #f8982e;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circle-container span {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Form fields styling */
.form-control.rounded-pill {
    height: 48px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1rem;
    border-color: #dee2e6;
}

.form-control.rounded-pill:focus {
    border-color: #fcaf1c;
    box-shadow: 0 0 0 0.25rem rgba(252, 175, 28, 0.25);
}

/* Submit button styling */
.btn-submit {
    background-color: #f8982e;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(252, 175, 28, 0.3);
}

.btn-submit:hover {
    background-color: #f78521;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(252, 175, 28, 0.25);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 4px 6px rgba(252, 175, 28, 0.2);
}

.btn-submit.disabled-plan {
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
}

.disabled-submit {
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
}

/* Error message styling */
.errMsg {
    color: #dc3545;
    font-size: 80%;
    margin-top: 0.25rem;
}

.message .error {
    background-color: #dc3545;
    color: white;
    border-radius: 4px;
    padding: 1rem;
}

/* Badge styling */
.badge.bg-warning { background-color: #fcaf1c !important; font-weight: 500; }
.badge.bg-pastel-red { background-color: #f8982e !important; color: white !important; font-weight: 500; border: 1px solid rgba(248, 152, 46, 0.3); }
.badge .save-text { color: white; font-weight: 600; }

/* Mobile tweaks */
@media (max-width: 767.98px) {
    .signup-container { padding: 1rem; }
    .card { border-radius: 0.5rem; }
    .social-buttons { flex-direction: column; gap: 0.5rem; }
    .social-btn { width: 100%; margin-bottom: 0.5rem; }
}

/* Form container width for right column */
.form-container {
    width: 100%;
    max-width: 420px;
    padding: 0 12px;
}
