﻿.divTablo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, rgba(47, 154, 218, 0.8) 100%);
    min-height: 100vh;
    padding: 2rem;
    margin: 0;
    box-sizing: border-box;
}

    .divTablo * {
        box-sizing: border-box;
    }

    .divTablo .containerTablo {
        max-width: 1000px;
        margin: 0 auto;
    }

    .divTablo .headerTablo {
        text-align: center;
        margin-bottom: 3rem;
    }

        .divTablo .headerTablo h1 {
            font-size: 2.5rem;
            font-weight: bold;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            letter-spacing: 2px;
            margin-bottom: 0.5rem;
        }

        .divTablo .headerTablo p {
            color: rgba(255,255,255,0.8);
            font-size: 1.1rem;
        }

    .divTablo .table-container {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        overflow: hidden;
        animation: fadeInUp 0.8s ease forwards;
    }

    .divTablo .tableYeni {
        width: 100%;
        border-collapse: collapse;
        background: transparent;
    }

    .divTablo .tableYeni thead {
        background: rgba(255, 255, 255, 0.2);
    }

    .divTablo .tableYeni th {
        padding: 1.5rem 1rem;
        text-align: left;
        font-weight: 600;
        color: white;
        font-size: 1.1rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }

    .divTablo .tableYeni td {
        padding: 1.25rem 1rem;
        color: white;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .divTablo .tableYeni tbody tr {
        transition: all 0.3s ease;
        animation: slideInLeft 0.6s ease forwards;
        opacity: 0;
        transform: translateX(-30px);
    }

    .divTablo .tableYeni tbody tr:nth-child(1) {
        animation-delay: 0.1s;
    }

    .divTablo .tableYeni tbody tr:nth-child(2) {
        animation-delay: 0.2s;
    }

    .divTablo .tableYeni tbody tr:nth-child(3) {
        animation-delay: 0.3s;
    }

    .divTablo .tableYeni tbody tr:nth-child(4) {
        animation-delay: 0.4s;
    }

    .divTablo .tableYeni tbody tr:nth-child(5) {
        animation-delay: 0.5s;
    }

    .divTablo .tableYeni tbody tr:nth-child(6) {
        animation-delay: 0.6s;
    }

    .divTablo .tableYeni tbody tr:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.02);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .divTablo .problem-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 0.75rem;
        font-size: 1.2rem;
        font-weight: bold;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .divTablo .icon-water {
        background: linear-gradient(135deg, #4A90E2, #357ABD);
        color: white;
    }

    .divTablo .icon-electric {
        background: linear-gradient(135deg, #F39C12, #E67E22);
        color: white;
    }

    .divTablo .icon-road {
        background: linear-gradient(135deg, #8E44AD, #9B59B6);
        color: white;
    }

    .divTablo .icon-tree {
        background: linear-gradient(135deg, #27AE60, #2ECC71);
        color: white;
    }

    .divTablo .icon-building {
        background: linear-gradient(135deg, #E74C3C, #C0392B);
        color: white;
    }

    .divTablo .icon-cleaning {
        background: linear-gradient(135deg, #16A085, #1ABC9C);
        color: white;
    }

    .divTablo .problem-text {
        display: inline-block;
        vertical-align: middle;
    }

    .divTablo .problem-cell {
        display: flex;
        align-items: center;
    }

    .divTablo .date-cell {
        font-weight: 500;
        color: #2ECC71;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    .divTablo .neighborhood-cell {
        font-weight: 500;
        color: #F1C40F;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.divTablo .stats-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.divTablo .stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .divTablo .table-container {
        padding: 1rem;
        overflow-x: auto;
    }

    .divTablo .tableYeni {
        min-width: 600px;
    }

        .divTablo .tableYeni th,
        .divTablo .tableYeni td {
            padding: 1rem 0.75rem;
            font-size: 0.9rem;
        }

    .divTablo .problem-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}


.sorgu-wrapper {
    display: flex;
    justify-content: flex-end; /* sağa hizala */
    margin: 10px 0;
}

.talep-sorgu-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.talep-input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 160px;
}

.talep-search-btn {
    background-color: #1976d2;
    color: white;
    border: none;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

    .talep-search-btn:hover {
        background-color: #125ba3;
    }


.modal-talep {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center; /* Dikey ortala */
    justify-content: center; /* Yatay ortala */
    padding: 20px;
    box-sizing: border-box;
    animation: fadeInModal 0.3s ease forwards;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-talep-content {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    padding: 30px 25px 25px 25px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .modal-talep-content h2 {
        margin-top: 0;
        font-size: 24px;
        color: #1976d2;
        font-weight: 700;
        margin-bottom: 15px;
        border-bottom: 2px solid #1976d2;
        padding-bottom: 8px;
    }

.modal-talep-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .modal-talep-close:hover {
        color: #1976d2;
    }

.modal-talep-body {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .modal-talep-content {
        padding: 20px 15px 15px 15px;
        max-width: 95%;
    }
}