/**
 * Listing by Location Category - Styles
 * Version: 1.0.0
 */

.lblc-container {
    width: 100%;
    max-width: 100%;
}

/* ===========================
   Top Cities Section
   =========================== */

.lblc-top-cities-section {
    background: linear-gradient(135deg, #0c5a8e 0%, #1976b5 100%);
    padding: 50px 40px;
    color: #ffffff;
}

.lblc-section-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding: 0;
    color: #ffffff;
    line-height: 1.3;
}

.lblc-top-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px 30px;
    margin-top: 30px;
}

.lblc-city-item {
    margin: 0;
}

.lblc-city-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease, text-decoration 0.3s ease;
    display: block;
    line-height: 1.6;
}

.lblc-city-link:hover {
    opacity: 0.8;
    text-decoration: underline;
    color: #ffffff;
}

/* Responsive Grid for Top Cities */
@media screen and (max-width: 1200px) {
    .lblc-top-cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .lblc-top-cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .lblc-top-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lblc-section-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    .lblc-top-cities-grid {
        grid-template-columns: 1fr;
    }
    
    .lblc-top-cities-section {
        padding: 30px 20px;
    }
}

/* ===========================
   All Cities Section
   =========================== */

.lblc-all-cities-section {
    background: #f8f9fa;
    padding: 50px 40px;
}

.lblc-section-title-dark {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding: 0;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Alphabet Filter */
.lblc-alphabet-filter {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.lblc-filter-label {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.lblc-alphabet-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.lblc-letter-btn {
    min-width: 42px;
    height: 42px;
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid #0c5a8e;
    color: #0c5a8e;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    outline: none;
}

.lblc-letter-btn:hover {
    background: #0c5a8e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(12, 90, 142, 0.3);
}

.lblc-letter-btn.active {
    background: #0c5a8e;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(12, 90, 142, 0.3);
}

.lblc-letter-btn.lblc-letter-disabled {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.5;
}

.lblc-letter-btn.lblc-letter-disabled:hover {
    background: #e9ecef;
    color: #adb5bd;
    transform: none;
    box-shadow: none;
}

/* Cities List */
.lblc-cities-list {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 200px;
}

.lblc-letter-group {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lblc-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px 30px;
}

.lblc-city-item-all {
    margin: 0;
}

.lblc-city-link-all {
    color: #0c5a8e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.6;
}

.lblc-city-link-all:hover {
    color: #1976b5;
    text-decoration: underline;
}

.lblc-no-cities {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.lblc-no-cities p {
    font-size: 16px;
    margin: 0;
}

/* Responsive Grid for All Cities */
@media screen and (max-width: 1200px) {
    .lblc-cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .lblc-cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .lblc-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lblc-section-title-dark {
        font-size: 28px;
    }
    
    .lblc-all-cities-section {
        padding: 30px 20px;
    }
    
    .lblc-alphabet-filter,
    .lblc-cities-list {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .lblc-cities-grid {
        grid-template-columns: 1fr;
    }
    
    .lblc-letter-btn {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
        padding: 6px 10px;
    }
}

