/* Country Page Specific Styles */
.country-header {
    background: linear-gradient(135deg, #1a73e8, #0066cc);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0.3rem;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.code-display {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.big-code {
    font-size: 4rem;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 1rem;
}

.code-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.info-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    color: #1a73e8;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.info-section ol, .info-section ul {
    padding-left: 1.5rem;
}

.info-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.area-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.area-code-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1.2rem;
    transition: background-color 0.3s, transform 0.2s;
    display: block;
    color: #333;
    text-decoration: none;
}

.area-code-card:hover {
    background: #e9f0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.area-code-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.area-code-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.example-box {
    background: #f0f7ff;
    border-left: 4px solid #1a73e8;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.example-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a73e8;
}

.example-text {
    font-family: monospace;
    font-size: 1.1rem;
    background: white;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.fact-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.fact-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.fact-label {
    font-size: 0.9rem;
    color: #666;
}

/* Search Section Styles */
.search-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.search-container {
    display: flex;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

#area-search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

#area-search-button {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

#area-search-button:hover {
    background: #0066cc;
}

.search-examples {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Search Results Styles */
.search-results-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 6px;
    border-left: 4px solid #1a73e8;
}

.search-results-count {
    font-weight: 600;
    color: #1a73e8;
}

.no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results p {
    margin-bottom: 1rem;
}

.no-results .suggestions {
    font-size: 0.9rem;
    color: #888;
}

.clear-search {
    display: inline-block;
    margin-top: 1rem;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.clear-search:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .big-code {
        font-size: 3rem;
    }
    
    .area-codes-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        flex-direction: column;
    }
    
    #area-search-button {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .big-code {
        font-size: 2.5rem;
    }
    
    .quick-facts {
        grid-template-columns: 1fr;
    }
}
