/* ============================================
   TYPE SELECTOR - MODERN LAYOUT
   ============================================ */

.gco-type-selector-modern {
    min-height: 100vh;
    background: linear-gradient(to bottom, #fff7ed 0%, #ffffff 300px);
}

/* Hero Section */
.gco-hero-section {
    padding: 60px 24px 40px 24px;
    text-align: center;
}

.gco-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gco-hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 20px;
    margin-bottom: 24px;
}

.gco-hero-badge span {
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gco-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.gco-gradient-text {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gco-hero-description {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search - Higher Specificity */
.gco-type-selector-modern .gco-hero-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.gco-type-selector-modern .gco-hero-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    z-index: 2;
}

.gco-type-selector-modern .gco-hero-search input#qr-type-search {
    width: 100% !important;
    padding: 16px 20px 16px 52px !important;
    font-size: 16px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease;
    height: auto !important;
    line-height: normal !important;
}

.gco-type-selector-modern .gco-hero-search input#qr-type-search:focus {
    outline: none !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.1) !important;
}

/* Types Main Container */
.gco-types-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px 24px;
}

/* Category Block */
.gco-category-block {
    margin-bottom: 60px;
}

.gco-category-block.hidden {
    display: none;
}

.gco-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

.gco-category-header .category-icon {
    font-size: 26px;
}

.gco-category-header .category-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Large Cards Grid (Popular) */
.gco-types-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gco-type-card-large {
    position: relative;
    display: block;
    padding: 28px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gco-type-card-large:hover {
    border-color: #f97316;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(249,115,22,0.15);
}

.gco-type-card-large.premium {
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    border-color: #fbbf24;
}

.gco-type-card-large.premium:hover {
    border-color: #f59e0b;
    box-shadow: 0 12px 24px rgba(251,191,36,0.2);
}

.type-icon-large {
    font-size: 52px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.gco-type-card-large:hover .type-icon-large {
    transform: scale(1.15);
}

/* Compact Cards Grid (Other Categories) */
.gco-types-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gco-type-card-compact {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gco-type-card-compact:hover {
    border-color: #f97316;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(249,115,22,0.15);
}

.gco-type-card-compact.premium {
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    border-color: #fbbf24;
}

.gco-type-card-compact.premium:hover {
    border-color: #f59e0b;
    box-shadow: 0 12px 24px rgba(251,191,36,0.2);
}

.type-icon-compact {
    font-size: 40px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.gco-type-card-compact:hover .type-icon-compact {
    transform: scale(1.1);
}

.type-info {
    flex: 1;
    min-width: 0;
}

.type-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.gco-type-card-large .type-name {
    font-size: 18px;
    margin-bottom: 6px;
}

.gco-type-card-large:hover .type-name,
.gco-type-card-compact:hover .type-name {
    color: #f97316;
}

.type-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gco-type-card-large .type-desc {
    font-size: 14px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Premium Badge */
.type-badge-pro {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(251,191,36,0.3);
}

/* No Results */
.gco-no-results {
    text-align: center;
    padding: 120px 20px;
    color: #9ca3af;
}

.gco-no-results svg {
    margin-bottom: 24px;
    opacity: 0.3;
}

.gco-no-results h3 {
    font-size: 24px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.gco-no-results p {
    font-size: 16px;
    color: #9ca3af;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .gco-types-grid-large,
    .gco-types-grid-compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gco-hero-title {
        font-size: 36px;
    }
    
    .gco-hero-description {
        font-size: 16px;
    }
    
    .gco-types-grid-large,
    .gco-types-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .gco-type-card-large {
        padding: 24px 20px;
    }
    
    .type-icon-large {
        font-size: 44px;
    }
    
    .gco-type-card-compact {
        padding: 16px;
    }
    
    .type-icon-compact {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .gco-hero-section {
        padding: 40px 20px 32px 20px;
    }
    
    .gco-hero-title {
        font-size: 28px;
    }
    
    .gco-types-main {
        padding: 0 20px 60px 20px;
    }
    
    .gco-types-grid-large,
    .gco-types-grid-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
