/* ==========================================================================
   TechConnect "Choose How You Want to Connect" Role Section & Modals CSS
   ========================================================================== */

.tc-role-section {
    position: relative;
    overflow: hidden;
    background-color: #ffffff !important;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.tc-section-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 680px;
    margin: 10px auto 0;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3 ROLE CARDS GRID
   -------------------------------------------------------------------------- */
.tc-roles-grid {
    position: relative;
    z-index: 2;
}

.tc-role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.tc-role-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.15);
}

.tc-role-card.dismissed {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* Featured / Popular Card Styling */
.tc-card-popular {
    background: #ffffff;
    border: 2px solid #2563eb;
    box-shadow: 0 15px 40px -8px rgba(37, 99, 235, 0.18);
}

.tc-popular-ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 34px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.tc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.tc-role-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.tc-icon-client {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.tc-icon-company {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.tc-icon-investor {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.tc-role-badge {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.tc-badge-popular {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.tc-role-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.tc-role-card p.tc-role-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Feature Checkmark Bullet List */
.tc-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tc-card-bullets li {
    font-size: 13.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-card-bullets li i {
    color: #2563eb;
    font-size: 15px;
}

.tc-role-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-btn-interested {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tc-btn-interested i {
    transition: transform 0.25s ease;
}

.tc-btn-interested:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.tc-btn-interested:hover i {
    transform: translateX(4px);
}

.tc-btn-not-interested {
    background: #f8fafc !important;
    color: #64748b !important;
    font-weight: 500;
    font-size: 13px;
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease !important;
}

.tc-btn-not-interested:hover {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}

/* Fallback Banner when all cards dismissed */
.tc-all-dismissed {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    display: none;
    animation: fadeIn 0.4s ease;
}

.tc-all-dismissed.active {
    display: block;
}

.tc-all-dismissed h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.tc-all-dismissed p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.tc-btn-explore {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
}

.tc-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* --------------------------------------------------------------------------
   SAAS SIGNUP MODAL SYSTEM (TECHCONNECT ORANGE THEME)
   -------------------------------------------------------------------------- */
.tc-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tc-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.tc-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(42, 35, 32, 0.3);
    border: 1px solid #FFE0C7;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tc-modal-dialog.modal-lg {
    max-width: 780px;
}

.tc-modal-dialog.modal-xl {
    max-width: 860px;
}

.tc-modal-backdrop.active .tc-modal-dialog {
    transform: translateY(0) scale(1);
}

.tc-modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid #FFE0C7;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tc-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #2A2320;
    margin: 0 0 4px 0;
}

.tc-modal-subtitle {
    font-size: 13.5px;
    color: #5C524E;
    margin: 0;
}

.tc-modal-close {
    background: #FFF6F0;
    border: 1px solid #FFE0C7;
    color: #5C524E;
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.tc-modal-close:hover {
    background-color: #FF760E;
    color: #ffffff;
    border-color: #FF760E;
    transform: rotate(90deg);
}

.tc-modal-body {
    padding: 26px 28px;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

.tc-modal-footer {
    padding: 16px 28px;
    border-top: 1px solid #FFE0C7;
    background-color: #FFF6F0;
    text-align: center;
    font-size: 13.5px;
    color: #5C524E;
}

.tc-modal-footer a {
    color: #FF760E;
    font-weight: 600;
    text-decoration: none;
}

.tc-modal-footer a:hover {
    text-decoration: underline;
    color: #FC6C0B;
}

/* --------------------------------------------------------------------------
   RESPONSIVE FORM GRID LAYOUT (2-COLUMNS DESKTOP, 1-COLUMN MOBILE)
   -------------------------------------------------------------------------- */
.tc-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.tc-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.tc-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 10px;
    padding-right: 10px;
}

.tc-form-group {
    margin-bottom: 18px;
}

.tc-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #2A2320;
    margin-bottom: 6px;
}

.tc-required {
    color: #E53935;
    margin-left: 2px;
}

.tc-form-input,
.tc-form-select,
.tc-form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    color: #2A2320;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.tc-form-input::placeholder,
.tc-form-textarea::placeholder {
    color: #94A3B8;
}

.tc-form-input:focus,
.tc-form-select:focus,
.tc-form-textarea:focus {
    border-color: #FF760E;
    box-shadow: 0 0 0 3px rgba(255, 118, 14, 0.18);
}

.tc-form-input.is-invalid,
.tc-form-select.is-invalid,
.tc-form-textarea.is-invalid,
.tc-chips-container.is-invalid {
    border-color: #E53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15) !important;
}

.tc-invalid-feedback {
    color: #E53935;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.tc-form-input.is-invalid ~ .tc-invalid-feedback,
.tc-form-select.is-invalid ~ .tc-invalid-feedback,
.tc-form-textarea.is-invalid ~ .tc-invalid-feedback,
.tc-form-group.has-error .tc-invalid-feedback {
    display: block;
}

/* Password Field with Eye Toggle */
.tc-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.tc-password-wrapper .tc-form-input {
    padding-right: 42px;
}

.tc-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #8C7E77;
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-password-toggle:hover {
    color: #FF760E;
}

/* GST Verification Inline Button Input Group */
.tc-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.tc-input-group .tc-form-input {
    flex: 1;
}

.tc-btn-verify-inline {
    background: linear-gradient(135deg, #FC6C0B, #FF760E);
    color: #ffffff;
    border: none;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(252, 108, 11, 0.2);
}

.tc-btn-verify-inline:hover {
    background: linear-gradient(135deg, #e05b00, #FC6C0B);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(252, 108, 11, 0.3);
}

.tc-btn-verify-inline.verified {
    background: #4CAF50 !important;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

.tc-gst-status {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.tc-gst-status.success {
    color: #4CAF50;
}

.tc-gst-status.error {
    color: #E53935;
}

/* Section Title Dividers in Forms */
.tc-form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #2A2320;
    border-bottom: 1px solid #FFE0C7;
    padding-bottom: 8px;
    margin: 20px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-form-section-title:first-child {
    margin-top: 0;
}

.tc-form-section-title i {
    color: #FF760E;
    font-size: 14px;
}

/* Multi-select Service & Sector Chips / Tag System */
.tc-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1.5px dashed #FFE0C7;
    border-radius: 10px;
    background: #FFF6F0;
    align-items: center;
    transition: border-color 0.2s ease;
}

.tc-chips-placeholder {
    font-size: 13px;
    color: #8C7E77;
}

.tc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #2A2320;
    border: 1px solid #FF760E;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 118, 14, 0.12);
    animation: tcPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tcPopIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.tc-chip-remove {
    background: transparent;
    border: none;
    color: #FF760E;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 0 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.tc-chip-remove:hover {
    color: #E53935;
}

/* Interactive Multi-Select Grid Options */
.tc-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.tc-select-option {
    border: 1px solid #E2E8F0;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #5C524E;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tc-select-option:hover {
    border-color: #FF760E;
    background: #FFF6F0;
    color: #2A2320;
}

.tc-select-option.selected {
    background: linear-gradient(135deg, #FC6C0B, #FF760E);
    color: #ffffff;
    border-color: #FF760E;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(252, 108, 11, 0.25);
}

/* Primary Submit Button & Spinner Loading State */
.tc-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #FC6C0B, #FF760E, #FF820E);
    color: #ffffff !important;
    border: none;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(252, 108, 11, 0.3);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.tc-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #e05b00, #FC6C0B, #FF760E);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(252, 108, 11, 0.4);
}

.tc-btn-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.tc-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: tcSpin 0.7s linear infinite;
    display: inline-block;
}

@keyframes tcSpin {
    to { transform: rotate(360deg); }
}

/* Success Confirmation Banner inside Modal */
.tc-form-success {
    text-align: center;
    padding: 36px 20px;
    animation: tcPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-form-success i {
    font-size: 56px;
    color: #4CAF50;
    margin-bottom: 18px;
}

.tc-form-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2A2320;
    margin-bottom: 10px;
}

.tc-form-success p {
    font-size: 15px;
    color: #5C524E;
    margin-bottom: 26px;
    line-height: 1.6;
}

.tc-form-success .tc-btn-primary {
    display: inline-flex;
    padding: 10px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .tc-roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tc-roles-grid {
        grid-template-columns: 1fr;
    }
    .tc-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .tc-modal-dialog {
        max-height: 94vh;
        margin: 10px;
        border-radius: 16px;
    }
    .tc-modal-header {
        padding: 16px 20px;
    }
    .tc-modal-body {
        padding: 20px;
    }
    .tc-select-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}
