/* Bayi Bulucu Sayfası CSS - Tamamen İzole */
/* ========================================== */

/* Breadcrumb Section - Ürün sayfası ile aynı */
.breadcrumb-section {
    background: white;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0; /* Header'ın hemen altında */
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 150px; /* Header'ın altında daha aşağıda */
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    color: #09a2e3;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #adb5bd;
    margin: 0 0.5rem;
    font-size: 1rem;
}

/* Bayi sayfası için özel sınıflar - Diğer sayfalarda hiç etki etmez */

.bayi-page-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.bayi-page-row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    height: auto;
    gap: 0;
    position: static;
    background: white;
}

.bayi-page-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0;
    height: auto;
    overflow-y: visible;
    margin-right: 0;
    background: white;
}

.bayi-page-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.bayi-page-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.bayi-page-col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.bayi-page-col-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0;
    height: auto;
    background: white;
}

.bayi-page-col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.bayi-page-col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.bayi-page-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}


/* Ana İçerik Bölümü */
.bayi-page-main-section {
    background: white;
    padding: 0;
    min-height: auto;
    position: relative;
    z-index: 1;
}

/* Sol Panel - Arama Formu */
.bayi-page-search-panel {
    background: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: fit-content;
}

.bayi-page-search-header {
    margin-bottom: 2rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.bayi-page-search-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.bayi-page-title-normal {
    color: #2c3e50;
    display: inline;
}

.bayi-page-title-highlight {
    color: #09a2e3;
    display: inline;
}

.bayi-page-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.bayi-page-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bayi-page-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.bayi-page-modern-select,
.bayi-page-modern-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background: white;
}

.bayi-page-modern-select:focus,
.bayi-page-modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.bayi-page-modern-select:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.bayi-page-modern-select option:disabled {
    color: #dc2626 !important;
    background-color: #fef2f2;
    font-style: italic;
}

.bayi-page-modern-select option:not(:disabled) {
    color: #16a34a !important;
    background-color: #f0fdf4;
    font-weight: bold;
}

.bayi-page-status {
    text-align: center;
    padding: 1rem 0;
}

.bayi-page-count-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.bayi-page-btn-find {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    width: 100%;
}

.bayi-page-btn-find:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.bayi-page-btn-find i {
    font-size: 1.1rem;
}

/* Sağ Panel - Harita */
.bayi-page-map-panel {
    height: 100%;
    width: 100%;
    background: white;
}

.bayi-page-map-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    height: 80vh;
    box-shadow: none;
}

.bayi-page-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

/* Results Section */
.bayi-page-results-section {
    padding: 0rem 0 3rem 0;
    background: white;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: visible;
}

.bayi-page-list-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    max-height: none;
    overflow: visible;
    margin-bottom: 0;
    position: relative;
}

.bayi-page-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.bayi-page-list-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.bayi-page-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Bayi Grid Layout */
.bayi-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.bayi-page-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bayi-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.bayi-page-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.bayi-page-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.bayi-page-sehir {
    background: #e9ecef;
    color: #6c757d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

.bayi-page-info {
    margin-bottom: 1rem;
    flex: 1;
    min-height: 120px;
}

.bayi-page-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bayi-page-info-item span {
    flex: 1;
    word-wrap: break-word;
    hyphens: auto;
}

.bayi-page-info-item i {
    color: #667eea;
    width: 20px;
    margin-right: 0.8rem;
    text-align: center;
}

.bayi-page-info-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bayi-page-info-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}


.bayi-page-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.bayi-page-actions .btn {
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.bayi-page-actions .btn:hover {
    transform: translateY(-2px);
}

/* Map Section */
.bayi-page-map-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 700px;
}

.bayi-page-map-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.bayi-page-map-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.bayi-page-map-description {
    color: #6c757d;
    margin: 0;
}

.bayi-page-map {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* No Bayi Found */
.bayi-page-no-found {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.bayi-page-no-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.bayi-page-no-found h4 {
    color: #495057;
    margin-bottom: 1rem;
}


/* Responsive Design */
@media (max-width: 992px) {
    .bayi-page-col-3,
    .bayi-page-col-4,
    .bayi-page-col-5,
    .bayi-page-col-6,
    .bayi-page-col-7,
    .bayi-page-col-8,
    .bayi-page-col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 0.5rem 0;
        margin-top: 120px; /* Mobilde daha az margin */
    }
    
    .bayi-page-main-section {
        padding: 0;
        min-height: auto;
    }
    
    .bayi-page-row {
        height: auto;
        flex-direction: column;
    }
    
    .bayi-page-col-3 {
        height: auto;
        padding: 1rem;
    }
    
    .bayi-page-col-9 {
        height: auto;
        padding: 0;
    }
    
    .bayi-page-search-panel {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .bayi-page-search-title {
        font-size: 1.5rem;
    }
    
    .bayi-page-map-container {
        height: 60vh;
        padding: 0 !important;
        border-radius: 0;
        margin: 0;
        width: 100%;
    }
    
    .bayi-page-map-panel {
        padding: 0;
        margin: 0;
    }
    
    .bayi-page-map {
        border-radius: 0;
    }
    
    .bayi-page-list-container {
        height: auto;
        margin-bottom: 2rem;
    }
    
    .bayi-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .bayi-page-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bayi-page-sehir {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .bayi-page-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bayi-page-actions .btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .bayi-page-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        margin-top: 165px; /* Çok küçük ekranlarda daha az margin */
        padding: 0.4rem 0;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 0.8rem;
    }
    
    .bayi-page-search-title {
        font-size: 1.8rem;
    }
    
    .bayi-page-list-container {
        padding: 1.5rem;
    }
    
    .bayi-page-map-container {
        padding: 0 !important;
        border-radius: 0;
        margin: 0;
        width: 100%;
    }
    
    .bayi-page-map-panel {
        padding: 0;
        margin: 0;
    }
    
    .bayi-page-map {
        border-radius: 0;
    }
    
    .bayi-page-card {
        padding: 1rem;
    }
    
    .bayi-page-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
