/**
 * Sign Up & Claim Your Business Pages CSS
 * File: assets/css/pages/signup-claim.css
 */

/* ========== SIGNUP PAGE ========== */
.signup-page {
    padding: 2rem 0 4rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Notice Styles */
.notice {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 0 auto 2rem;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 6px solid;
}

.notice h3 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.notice p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.notice-success {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #22543d;
    border-left-color: #48bb78;
}

.notice-error {
    background: linear-gradient(135deg, #fed7d7 0%, #fc8181 100%);
    color: #742a2a;
    border-left-color: #e53e3e;
}

.notice-info {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    color: #1a365d;
    border-left-color: #3182ce;
}

.signup-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.signup-header h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.signup-header .subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Claiming Banner */
.claiming-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.claiming-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.claiming-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.claiming-text h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.claiming-text .business-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    opacity: 0.95;
}

.claiming-text .business-location {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Sign Up Form */
.signup-form {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Submit button */
.submit-btn {
    max-width: 400px;
    width: auto;
    padding: 1.25rem 2.5rem;
    margin: 2rem auto 0;
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s, background 0.2s;
    min-height: 48px;
}

.submit-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    border-color: #9a3412;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(221, 107, 32, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Accordion container for signup */
.signup-form-accordion .accordion-container {
    margin-bottom: 2rem;
}

.signup-form-accordion .accordion-section {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.signup-form-accordion .accordion-section.active {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.signup-form-accordion .accordion-section.complete {
    border-color: #48bb78;
}

/* Large tap target for mobile - 48px minimum */
.signup-form-accordion .accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f0f1f8 0%, #e9ecf3 100%);
    border: none;
    border-bottom: 2px solid #d1d5db;
    border-radius: 12px 12px 0 0;
    cursor: default;
    text-align: left;
    font-family: inherit;
    min-height: 48px;
    transition: background 0.2s, border-color 0.2s;
}

.signup-form-accordion .accordion-section.active .accordion-header {
    background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
    border-bottom-color: #667eea;
}

.signup-form-accordion .accordion-section.complete .accordion-header {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    border-bottom-color: #48bb78;
}

.signup-form-accordion .accordion-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.signup-form-accordion .title-main {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.signup-form-accordion .accordion-section.complete .title-main {
    color: #166534;
}

.signup-form-accordion .title-summary {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

.signup-form-accordion .accordion-indicators {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.signup-form-accordion .expand-icon {
    display: none;
}

/* Accordion content */
.signup-form-accordion .accordion-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Open first section by default (fallback if JS doesn't load) */
.signup-form-accordion .accordion-section:first-child .accordion-content {
    display: block;
}

.signup-form-accordion .accordion-section.active .accordion-content {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress indicator */
/* Mobile optimizations for accordion */
@media (max-width: 768px) {
    .signup-form-accordion .accordion-header {
        padding: 1rem 1.25rem;
        min-height: 56px; /* Larger on mobile */
    }
    
    .signup-form-accordion .title-main {
        font-size: 1rem;
    }
    
    .signup-form-accordion .title-summary {
        font-size: 0.8125rem;
    }
    
    .signup-form-accordion .accordion-content {
        padding: 0 1.25rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .signup-form-accordion .accordion-section {
        border-radius: 8px;
    }
    
    .signup-form-accordion .accordion-header {
        padding: 0.875rem 1rem;
        min-height: 52px;
        border-radius: 8px 8px 0 0;
    }
    
    .signup-form-accordion .accordion-indicators {
        margin-left: 0.5rem;
    }
}

/* Sign Up Form */
.signup-form {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* User Type Selection */
.user-type-section {
    margin-bottom: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.user-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.user-type-card {
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    position: relative;
}

.user-type-card:hover {
    border-color: #dd6b20;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(221, 107, 32, 0.15);
}

.user-type-card.selected {
    border-color: #c05621;
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.08) 0%, rgba(192, 86, 33, 0.08) 100%);
    box-shadow: 0 4px 12px rgba(192, 86, 33, 0.25);
}

.user-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.user-type-card.selected::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348bb78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.user-type-card.selected::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.5);
    z-index: 2;
}

.card-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.card-icon svg {
    width: 64px;
    height: 64px;
    color: #6b46c1;
}

.card-content h4 {
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

/* Contractor Fields */
.contractor-fields {
    transition: all 0.3s;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.password-strength.weak {
    color: #e53e3e;
}

.password-strength.medium {
    color: #f6ad55;
}

.password-strength.strong {
    color: #48bb78;
}

/* Category Select - Mobile Optimized Dropdown with Tight Spacing */
select#category {
    min-height: 56px;
    font-size: 1.0625rem;
    padding: 1rem;
    border: 3px solid #cbd5e0;
    border-radius: 10px;
    background: white;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
}

select#category:focus {
    outline: none;
    border-color: #6b46c1;
    box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.15);
}

select#category option {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.2;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 2rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.login-link a {
    color: #667eea;
    font-weight: 600;
}

/* ========== CLAIM YOUR BUSINESS PAGE ========== */
.claim-business-page {
    padding: 2rem 0 4rem;
}

/* Hero */
.claim-hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    margin-bottom: 3rem;
}

.claim-hero h1 {
    font-size: 3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.claim-hero .subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search & Filter */
.claim-search {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 1rem;
}

.search-input {
    padding: 0.875rem 1rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.category-select {
    padding: 0.875rem 1rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
}

.search-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.search-btn:hover {
    transform: translateY(-2px);
}

.search-results-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-search {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* Benefits */
.claim-benefits {
    margin-bottom: 4rem;
}

.claim-benefits h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Business Listings */
.businesses-list {
    margin-bottom: 4rem;
}

.businesses-list h2 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 2rem;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.business-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.2s;
}

.business-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.business-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.business-header h3 {
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.business-category {
    display: inline-block;
    background: #e9d8fd;
    color: #6b46c1;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.business-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.info-row .icon {
    font-size: 1.1rem;
}

.business-actions {
    display: flex;
    gap: 0.75rem;
}

.claim-btn {
    flex: 1;
}

.view-btn {
    flex: 1;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.no-results p {
    color: #718096;
    margin-bottom: 2rem;
}

/* Not Listed Section */
.not-listed-section {
    margin-bottom: 4rem;
}

.not-listed-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #f59e0b;
}

.not-listed-card h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.not-listed-card p {
    font-size: 1.125rem;
    color: #78350f;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works */
.how-it-works {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.125rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.step p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .benefits-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .signup-page,
    .claim-business-page {
        padding: 1rem 0 2rem;
    }
    
    .signup-header h1,
    .claim-hero h1 {
        font-size: 2rem;
    }
    
    .signup-form {
        padding: 1.5rem;
    }
    
    .user-type-options {
        grid-template-columns: 1fr;
    }
    
    .claiming-content {
        flex-direction: column;
        text-align: center;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .business-cards {
        grid-template-columns: 1fr;
    }
    
    .business-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .signup-header h1 {
        font-size: 1.75rem;
    }
    
    .claiming-icon {
        font-size: 3rem;
    }
    
    .claiming-text h2 {
        font-size: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
}

/* ========== HONEYPOT HIDING ========== */
.hp,
.ott-hp,
.honeypot-field,
input[name="website"],
input[name="url"],
input[name="honeypot"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
}

/* ========== SUBMIT BUTTON STYLING ========== */
.signup-form button[type="submit"],
.signup-form .btn-submit,
.claim-form button[type="submit"],
.claim-form .btn-submit {
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 6px rgba(107, 70, 193, 0.3);
}

.signup-form button[type="submit"]:hover,
.signup-form .btn-submit:hover,
.claim-form button[type="submit"]:hover,
.claim-form .btn-submit:hover {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 137, 54, 0.4);
}

.signup-form button[type="submit"]:disabled,
.signup-form .btn-submit:disabled,
.claim-form button[type="submit"]:disabled,
.claim-form .btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Mobile button optimization */
@media (max-width: 768px) {
    .signup-form button[type="submit"],
    .signup-form .btn-submit,
    .claim-form button[type="submit"],
    .claim-form .btn-submit {
        min-height: 52px;
        font-size: 1.15rem;
        padding: 1.25rem 2rem;
    }
}

/* ========== BUSINESS AUTOCOMPLETE ========== */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.autocomplete-item {
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f7fafc;
}

.autocomplete-item:hover {
    background: #f7fafc;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.biz-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.biz-location {
    font-size: 0.875rem;
    color: #718096;
}

.new-business-btn {
    margin-top: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    color: #4a5568;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
}

.new-business-btn:hover {
    background: #edf2f7;
    border-color: #a0aec0;
}

.new-business-btn svg {
    width: 20px;
    height: 20px;
}

/* Tier display */
.tier-display {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #f0fff4;
    border: 2px solid #9ae6b4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tier-display strong {
    color: #22543d;
}

.tier-display #tier-display-text {
    color: #276749;
    font-weight: 600;
}

.change-tier-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #9ae6b4;
    color: #22543d;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 44px;
}

.change-tier-btn:hover {
    background: #c6f6d5;
}

/* ========== SUBSCRIPTION MODAL ========== */
.subscription-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10000;
}

.modal-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid #f7fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 1.75rem;
    color: #1a202c;
    margin: 0;
    font-weight: 700;
}

.modal-close-btn {
    background: #f7fafc;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: #edf2f7;
    transform: rotate(90deg);
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 2rem;
}

/* Tier Cards */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tier-card {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.tier-card:hover {
    border-color: #cbd5e0;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.tier-recommended {
    border-color: #6b46c1;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.2);
}

.tier-recommended:hover {
    border-color: #6b46c1;
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.3);
}

.tier-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tier-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    flex-shrink: 0;
}

.tier-icon svg {
    width: 32px;
    height: 32px;
    color: #4a5568;
}

.tier-header h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin: 0;
    font-weight: 700;
}

.tier-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.tier-features li {
    padding: 0.625rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
}

.tier-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tier-features li:first-child {
    font-weight: 600;
    color: #2d3748;
}

.tier-feature-disabled {
    opacity: 0.5;
}

.select-tier-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 52px;
}

.select-tier-btn:hover {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    transform: translateY(-2px);
}

.tier-card:first-child .select-tier-btn {
    background: #718096;
}

.tier-card:first-child .select-tier-btn:hover {
    background: #4a5568;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tier-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        max-height: 95vh;
        margin: 0.5rem;
    }
    
    .modal-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .tier-card {
        padding: 1.5rem 1rem;
    }
    
    .autocomplete-item {
        padding: 1rem;
    }
    
    .biz-name {
        font-size: 1rem;
    }
    
    .biz-location {
        font-size: 0.875rem;
    }
    
    .tier-display {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .change-tier-btn {
        width: 100%;
    }
}
/* ========== WIZARD FLOW STYLES ========== */

/* Continue Button */
.section-continue-btn {
    width: auto;
    min-width: 180px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    min-height: 48px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: inline-block;
}

.section-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.section-continue-btn:active {
    transform: translateY(0);
}

/* Submit button (final section) */
.btn-submit {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* Section Errors */
.section-errors {
    background: #fed7d7;
    border: 2px solid #fc8181;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #742a2a;
}

.section-errors strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.section-errors ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.section-errors li {
    margin: 0.25rem 0;
    line-height: 1.5;
}

/* Collapsed Section Styles */
.accordion-section.collapsed .accordion-header {
    background: #f7fafc;
    border-color: #e2e8f0;
}

.accordion-section.completed .accordion-header {
    background: #c6f6d5;
    border-color: #48bb78;
}

/* Current step indicator */
.accordion-section.current-step .accordion-header {
    border-left: 4px solid #667eea;
    background: #f0f4ff;
}

/* Hide content in collapsed sections (must override first-child default) */
.accordion-section.collapsed .accordion-content {
    display: none !important;
}

/* Summary text styling */
.title-summary {
    font-weight: 400;
    color: #4a5568;
    font-size: 0.95rem;
}

.accordion-section.completed .title-summary {
    color: #2d3748;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .section-continue-btn {
        font-size: 0.95rem;
        padding: 0.7rem 1.5rem;
        min-height: 48px;
        min-width: 160px;
    }
    
    .section-errors {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

/* ========== NOT LISTED MODAL ========== */
.ott-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ott-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.ott-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ott-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #a0aec0;
    line-height: 1;
}

.ott-modal-close:hover {
    color: #4a5568;
}

/* Not Listed Modal Steps */
.not-listed-step h2 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.not-listed-step p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.not-listed-tips {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.not-listed-tips h4 {
    margin-bottom: 0.5rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.not-listed-tips ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.not-listed-tips li {
    margin-bottom: 0.25rem;
}

.not-listed-note {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.not-listed-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* New Business Request Form */
.new-biz-form .form-row {
    margin-bottom: 1rem;
}

.new-biz-form .form-row:last-of-type {
    margin-bottom: 1.5rem;
}

#new-biz-error {
    background: #fed7d7;
    color: #c53030;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

#new-biz-success {
    background: #c6f6d5;
    color: #22543d;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

#new-biz-success p:first-child {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#new-biz-success p:last-child {
    margin: 0;
    font-size: 0.9rem;
}

.btn-not-listed {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f7fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-not-listed:hover {
    background: #edf2f7;
    border-color: #a0aec0;
}

/* Generic outline button for modals */
.btn-outline-gray {
    background: transparent;
    border: 1px solid #cbd5e0;
    color: #4a5568;
}

.btn-outline-gray:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

/* ==========================================
   QUALITY TIER RADIO BUTTONS
   ========================================== */

.tier-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: none;
    color: var(--primary, #6b46c1);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.75rem;
    font-weight: 500;
}

.tier-info-btn:hover {
    color: var(--primary-hover, #805ad5);
    text-decoration: underline;
}

.tier-info-btn svg {
    flex-shrink: 0;
}

.quality-tier-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.tier-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
}

.tier-option:hover {
    border-color: #a0aec0;
    background: #f7fafc;
}

.tier-option.selected {
    border-color: var(--primary, #6b46c1);
    background: #faf5ff;
    box-shadow: 0 0 0 1px var(--primary, #6b46c1);
}

.tier-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 1rem;
    accent-color: var(--primary, #6b46c1);
    flex-shrink: 0;
}

.tier-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.tier-icons {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    width: 60px;
}

.tier-icons svg {
    width: 18px;
    height: 18px;
}

.tier-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tier-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

.tier-desc {
    font-size: 0.875rem;
    color: #718096;
}

/* ==========================================
   QUALITY TIER INFO MODAL
   ========================================== */

.tier-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.tier-info-modal.active {
    display: flex;
}

.tier-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.tier-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tier-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 4px;
    transition: all 0.15s;
}

.tier-modal-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.tier-modal-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #2d3748;
    padding-right: 2rem;
}

.tier-modal-content h3 svg {
    color: var(--primary, #6b46c1);
}

.tier-modal-content > p {
    margin: 0 0 1rem 0;
    color: #4a5568;
}

.tier-info-card {
    padding: 0.875rem 1rem;
    border-left: 4px solid;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.tier-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.tier-info-header strong {
    font-size: 0.9375rem;
}

.tier-info-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
}

.tier-info-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.tier-info-footer p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #4a5568;
}

.tier-info-footer .tier-note {
    font-size: 0.8125rem;
    color: #718096;
    font-style: italic;
}

.tier-modal-done {
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.875rem;
    font-size: 1rem;
}

/* ==========================================
   MOBILE RESPONSIVE - QUALITY TIERS
   ========================================== */

@media (max-width: 480px) {
    .quality-tier-options {
        gap: 0.5rem;
    }
    
    .tier-option {
        padding: 0.625rem 0.75rem;
        min-height: 40px;
        border-radius: 6px;
    }
    
    .tier-option input[type="radio"] {
        width: 16px;
        height: 16px;
        margin-right: 0.625rem;
    }
    
    .tier-content {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tier-icons {
        width: auto;
        gap: 1px;
    }
    
    .tier-icons svg {
        width: 14px;
        height: 14px;
    }
    
    .tier-label {
        font-size: 0.875rem;
    }
    
    .tier-desc {
        display: none;
    }
    
    .tier-info-btn span {
        display: none;
    }
    
    .tier-modal-content {
        padding: 1.25rem;
        max-height: 85vh;
    }
    
    .tier-info-card {
        padding: 0.75rem;
    }
}
