/**************************************************
 * V2 Page-Specific Styles
 * Grouped by page section to consolidate legacy CSS
 **************************************************/

/* -----------------------------------------------
   Listings: Create Selector
----------------------------------------------- */
.v2-listing-create .create-hero {
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    padding: 4rem 0 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.v2-listing-create .create-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.v2-listing-create .type-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.v2-listing-create .type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary, #0a3d62);
    text-decoration: none;
    color: inherit;
}

.v2-listing-create .type-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.v2-listing-create .type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2f3640;
}

.v2-listing-create .type-card p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.v2-listing-create .type-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    text-align: left;
}

.v2-listing-create .type-features li {
    padding: 0.5rem 0;
    color: #535c68;
    font-size: 0.9rem;
}

.v2-listing-create .type-features i {
    color: #78e08f;
    margin-right: 0.5rem;
}

.v2-listing-create .type-cta {
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.v2-listing-create .type-card:hover .type-cta {
    background: linear-gradient(135deg, #e55039 0%, #d63a2a 100%);
    transform: translateX(4px);
}

.v2-listing-create .info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid #0a3d62;
}

.v2-listing-create .info-box h4 {
    color: #0a3d62;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v2-listing-create .info-box ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.v2-listing-create .info-box li {
    margin-bottom: 0.5rem;
    color: #535c68;
}

.v2-listing-create .stat-badge-v2 {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .v2-listing-create .create-hero {
        padding: 2rem 0 1.5rem;
    }

    .v2-listing-create .type-card {
        margin-bottom: 1.5rem;
    }

    .v2-listing-create .type-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* -----------------------------------------------
   General: Contact Page
----------------------------------------------- */
.v2-contact .contact-hero-v2 {
    background: linear-gradient(135deg, #0077be 0%, #003d5c 100%);
    padding: 4rem 0 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.v2-contact .contact-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.v2-contact .contact-hero-v2 .container {
    position: relative;
    z-index: 1;
}

.v2-contact .contact-form-card-v2 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.v2-contact .contact-info-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.v2-contact .contact-info-item-v2 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 119, 190, 0.08);
    border: 1px solid rgba(0, 119, 190, 0.12);
    transition: all 0.3s ease;
}

.v2-contact .contact-info-item-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background: rgba(0, 119, 190, 0.12);
}

.v2-contact .contact-info-icon-v2 {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0077be 0%, #003d5c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.v2-contact .contact-faq-v2 .accordion-button:not(.collapsed) {
    background-color: rgba(0, 119, 190, 0.1);
    color: #003d5c;
    font-weight: 600;
}

.v2-contact .contact-stats-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 119, 190, 0.1);
    transition: all 0.3s ease;
}

.v2-contact .contact-stats-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.v2-contact .contact-stats-icon-v2 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 119, 190, 0.15);
    color: #0077be;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.v2-contact .contact-social-link-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #003d5c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.v2-contact .contact-social-link-v2:hover {
    background: #0077be;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 190, 0.2);
}

.v2-contact .contact-support-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(0, 119, 190, 0.1);
    color: #0077be;
    font-weight: 600;
}

.v2-contact .contact-map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 2px dashed #cfd8dc;
    padding: 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .v2-contact .contact-hero-v2 {
        padding: 2rem 0 1.5rem;
    }

    .v2-contact .contact-form-card-v2 {
        padding: 2rem;
    }
}

/* -----------------------------------------------
   Category Pages
----------------------------------------------- */

/* Category listing cards with hover effect */
.category-page .hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.category-page .hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Category tabs navigation */
.category-tabs {
    -webkit-overflow-scrolling: touch;
}

.category-tabs .nav {
    gap: 0.5rem;
}

/* Loading overlay for category page */
.category-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-loading-overlay.show {
    opacity: 1;
}

.category-loading-spinner {
    text-align: center;
}

.category-loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

