/* ===== HERO SECTION ===== */
.hero-section {
    background: #477D4D;
    padding: 60px 40px;
    text-align: center;
}

.hero-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 0.9;
    color: white;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-line.centered {
    text-align: center;
}

.hero-subtitle {
    font-family: Inter, sans-serif;
    font-size: 20px;
    color: white;
    font-weight: 400;
    margin-bottom: 0;
}

/* ===== RESULTS COUNTER SECTION ===== */
.results-counter-section {
    background: white;
    padding: 30px 40px;
    text-align: center;
}

.results-counter {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    background: #F7F7F7;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    border: 2px solid #E5E5E5;
}

.results-counter .country-flag {
    margin-right: 8px;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: white;
    padding: 40px;
}

.search-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    margin: 0 auto 20px;
    gap: 20px;
}

.search-input-container {
    flex: 0 0 400px;
    position: relative;
}

.bank-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 18px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-family: Inter, sans-serif;
    box-sizing: border-box;
}

.bank-search-input:focus {
    outline: none;
    border-color: #477D4D;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #666;
    pointer-events: none;
}

.country-filter-container {
    flex: 0 0 350px;
}

.country-select {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-family: Inter, sans-serif;
    background: white;
    cursor: pointer;
}

.country-select:focus {
    outline: none;
    border-color: #477D4D;
}

.search-stats {
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #666;
    max-width: 80%;
    margin: 0 auto;
}

/* ===== RESULTS GRID ===== */
.bank-results-container {
    background: white;
    padding: 40px;
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.bank-card {
    background: #F7F7F7;
    border-radius: 8px;
    padding: 25px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.bank-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.bank-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.bank-logo-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 5px;
    flex-shrink: 0;
}

.bank-card-info {
    flex: 1;
}

.bank-card-title {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #222;
    margin: 0 0 5px 0;
}

.bank-card-country {
    color: #666;
    font-size: 14px;
    font-family: Inter, sans-serif;
}

.bank-card-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #C2D7FF;
    color: #222;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 500;
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h3 {
    font-family: Inter, sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}

.no-results p {
    font-family: Inter, sans-serif;
    font-size: 16px;
}

/* ===== LOADING AND ERROR STATES ===== */
.loading-state,
.error-state {
    text-align: center;
    padding: 60px 20px;
    font-family: Inter, sans-serif;
    font-size: 18px;
    color: #666;
}

.loading-state {
    color: #477D4D;
}

.error-state {
    color: #d32f2f;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    margin: 20px;
}

.loading-state::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #477D4D;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

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

/* ===== MOBILE RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .results-counter-section {
        padding: 20px;
    }
    
    .results-counter {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .search-section {
        padding: 20px;
    }
    
    .search-controls {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }
    
    .search-input-container,
    .country-filter-container {
        flex: none;
        width: 100%;
    }
    
    .bank-search-input,
    .country-select {
        font-size: 16px;
        padding: 12px 40px 12px 15px;
    }
    
    .search-icon {
        right: 12px;
    }
    
    .bank-results-container {
        padding: 20px;
    }
    
    .bank-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }
    
    .bank-card {
        padding: 20px;
    }
    
    .bank-card-title {
        font-size: 18px;
    }
    
    .bank-logo-small {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .bank-card-header {
        gap: 10px;
    }
    
    .bank-card-title {
        font-size: 16px;
    }
    
    .bank-card-country {
        font-size: 13px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 3px 6px;
    }
}
