:root {
    --primary: #004a8e;
    --accent: #f59e0b;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.ilanlar-wrapper {
    padding-bottom: 50px;
}

.ilanlar-header {
    background: var(--primary);
    color: var(--white);
    padding: 40px 20px 60px;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.header-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-align: center;
}

.current-date {
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: center;
}


.filter-card.kiosk-form {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1200px; 
    box-sizing: border-box;
    margin: 0 auto;
}


.search-grid-kiosk {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    align-items: end;
}


    .search-grid-kiosk.with-bolge {
        grid-template-columns: repeat(5, 1fr);
    }

    .search-grid-kiosk.kiosk-no-bolge {
        grid-template-columns: repeat(4, 1fr);
    }

.input-group-custom label {
    display: block;
    color: var(--text-gray);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.input-group-custom input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem; 
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    height: 52px;
}

    .input-group-custom input:focus {
        border-color: var(--accent);
    }

.form-hint {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.btn-filter-kiosk {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ilanlar-container {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.summary-badge {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: inline-block;
}

.ilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.ilan-card {
    background: var(--white);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

    .ilan-card:hover {
        transform: translateY(-5px);
    }

.card-body {
    padding: 20px;
    flex: 1;
}

.person-info {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.name-details h3 {
    margin: 0;
    font-size: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item .label {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: block;
}

.info-item .value {
    font-size: 0.95rem;
    font-weight: 700;
}

.card-footer {
    padding: 15px;
    background: #f8fafc;
    margin-top: auto;
}

.btn-location {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}


.pagination-container-kiosk {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.btn-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

    .btn-pagination:hover:not(.disabled) {
        background-color: #003366;
        transform: translateY(-2px);
        color: white;
    }

    .btn-pagination.disabled {
        background-color: #e2e8f0;
        color: #94a3b8;
        cursor: not-allowed;
    }

.page-info {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

    .page-info span {
        color: var(--accent);
        background: #fffbeb;
        padding: 5px 12px;
        border-radius: 8px;
        border: 1px solid var(--accent);
    }


.map-wrapper {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.map-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-actions {
    display: flex;
    gap: 10px;
}

#map {
    height: 500px;
    width: 100%;
}

.btn-location-alt {
    background: #db2777;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-close-custom {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}


@media (max-width: 1024px) {
    .search-grid-kiosk {
        grid-template-columns: repeat(5, 1fr); 
        gap: 8px;
    }

    .input-group-custom input, .input-group-custom select {
        padding: 8px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header-info h1 {
        font-size: 1.8rem;
    }

    
    .search-grid-kiosk {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .filter-card.kiosk-form {
        padding: 20px;
    }

    .ilan-grid {
        grid-template-columns: 1fr;
    }
}


.input-group-custom select {
    width: 100%;
    padding: 0 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background-color: var(--white);
    color: var(--text-dark);
    height: 52px; 
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2364748b' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

    .input-group-custom select:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }


.footer-actions-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-home-kiosk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

    .btn-home-kiosk:hover {
        transform: translateY(-2px);
        background: #f8fafc;
        color: var(--primary); 
    }