/* ========================================
   NOBETCI ECZANE - E-Manset Frontend
   ======================================== */

/* Page Container */
.eczane-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 30px 0 60px;
}

/* Hero Section */
.eczane-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.eczane-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eczane-city-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.eczane-icon {
    color: #e53935;
    flex-shrink: 0;
}

.eczane-city-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.eczane-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.eczane-date-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e53935;
    font-weight: 500;
}

.eczane-date-info svg {
    color: #e53935;
}

/* District Grid */
.district-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 14px 0;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.district-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.district-btn:hover {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

.district-btn.active {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

.district-count {
    font-size: 11px;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.district-btn.active .district-count {
    background: rgba(255, 255, 255, 0.2);
}

.no-districts {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    color: #666;
}

/* Results Section */
.eczane-results {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.eczane-results-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.eczane-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eczane-e-logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.eczane-results-info {
    flex: 1;
}

.eczane-results-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 4px 0;
}

.eczane-count {
    font-size: 14px;
    color: #666;
}

/* District Section */
.eczane-district-section {
    margin-bottom: 30px;
}

.eczane-district-section:last-child {
    margin-bottom: 0;
}

.district-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 16px;
}

.district-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.district-pharmacy-count {
    font-size: 13px;
    color: #666;
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Pharmacy Cards Grid */
.eczane-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.eczane-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.eczane-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.eczane-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.eczane-card-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eczane-e-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.eczane-card-name span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.eczane-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e53935;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.eczane-phone:hover {
    color: #c62828;
}

.eczane-phone svg {
    flex-shrink: 0;
}

/* Card Bottom with Address and Directions */
.eczane-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.eczane-card-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.eczane-card-address svg {
    flex-shrink: 0;
    color: #999;
    margin-top: 2px;
}

.eczane-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.eczane-directions:hover {
    background: linear-gradient(135deg, #3367d6 0%, #2a56c6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.eczane-directions svg {
    flex-shrink: 0;
}

/* No Results */
.eczane-no-results {
    background: #fff;
    border-radius: 16px;
    padding: 60px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    margin-bottom: 30px;
    text-align: center;
}

.no-results-icon {
    color: #ddd;
    margin-bottom: 20px;
}

.eczane-no-results h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.eczane-no-results p {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e53935;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #c62828;
}

/* City Selector Section */
.eczane-city-selector {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.eczane-city-selector h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 0 0 20px 0;
}

.eczane-city-selector .city-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.eczane-city-selector .city-btn {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.eczane-city-selector .city-btn:hover {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

.eczane-city-selector .city-btn.active {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

/* ========================================
   Nobetci Eczane - Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 1200px) {
    .eczane-hero {
        grid-template-columns: 1fr 1.2fr;
        gap: 30px;
    }

    .district-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .eczane-city-selector .city-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .eczane-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .eczane-city-title h1 {
        font-size: 24px;
    }

    .district-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .eczane-cards-grid {
        grid-template-columns: 1fr;
    }

    .eczane-city-selector .city-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .eczane-page {
        padding: 20px 0 40px;
    }

    .eczane-hero {
        padding: 20px;
        border-radius: 12px;
    }

    .eczane-city-title h1 {
        font-size: 22px;
    }

    .eczane-description {
        font-size: 13px;
    }

    .district-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .district-btn {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 6px;
    }

    .eczane-results {
        padding: 20px;
        border-radius: 12px;
    }

    .eczane-badge {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .eczane-e-logo {
        font-size: 24px;
    }

    .eczane-results-header h2 {
        font-size: 18px;
    }

    .eczane-card {
        padding: 16px;
    }

    .eczane-card-name span:last-child {
        font-size: 15px;
    }

    .eczane-phone {
        font-size: 13px;
    }

    .eczane-card-address {
        font-size: 12px;
    }

    .eczane-city-selector {
        padding: 20px;
        border-radius: 12px;
    }

    .eczane-city-selector h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .eczane-city-selector .city-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .eczane-city-selector .city-btn {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .eczane-page {
        padding: 15px 0 30px;
    }

    .eczane-hero {
        padding: 16px;
        margin-bottom: 20px;
    }

    .eczane-city-title {
        gap: 10px;
        margin-bottom: 12px;
    }

    .eczane-icon {
        width: 20px;
        height: 20px;
    }

    .eczane-city-title h1 {
        font-size: 18px;
    }

    .eczane-description {
        font-size: 12px;
        line-height: 1.6;
    }

    .district-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .district-btn {
        padding: 7px 8px;
        font-size: 11px;
    }

    .district-count {
        display: none;
    }

    .eczane-results {
        padding: 16px;
        margin-bottom: 20px;
    }

    .eczane-results-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .eczane-badge {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .eczane-e-logo {
        font-size: 22px;
    }

    .eczane-results-header h2 {
        font-size: 16px;
    }

    .eczane-count {
        font-size: 12px;
    }

    .district-header {
        padding: 10px 12px;
    }

    .district-header h3 {
        font-size: 14px;
    }

    .eczane-cards-grid {
        gap: 12px;
    }

    .eczane-card {
        padding: 14px;
        border-radius: 10px;
    }

    .eczane-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .eczane-e-badge {
        width: 28px;
        height: 28px;
        font-size: 14px;
        border-radius: 6px;
    }

    .eczane-card-name span:last-child {
        font-size: 14px;
    }

    .eczane-phone {
        font-size: 13px;
    }

    .eczane-phone svg {
        width: 16px;
        height: 16px;
    }

    .eczane-card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .eczane-directions {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
    }

    .eczane-no-results {
        padding: 40px 20px;
    }

    .no-results-icon svg {
        width: 48px;
        height: 48px;
    }

    .eczane-no-results h3 {
        font-size: 18px;
    }

    .eczane-no-results p {
        font-size: 13px;
    }

    .eczane-city-selector {
        padding: 16px;
    }

    .eczane-city-selector h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .eczane-city-selector .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .eczane-city-selector .city-btn {
        padding: 7px 8px;
        font-size: 11px;
    }
}
