/* ==========================================================
   Çorum Belediyesi - Kardeş Şehirler
========================================================== */

.kardes-table{
    width:100%;
    margin-bottom:0;
    border-collapse:separate;
    border-spacing:0 14px;
}

.kardes-table thead th{
    background:#0d6efd;
    color:#fff;
    border:none;
    padding:16px 20px;
    font-size:15px;
    font-weight:600;
    vertical-align:middle;
}

.kardes-table thead th:first-child{
    border-radius:12px 0 0 12px;
}

.kardes-table thead th:last-child{
    border-radius:0 12px 12px 0;
    width:280px;
}

.kardes-table tbody td{
    background:#fff;
    padding:18px 20px;
    vertical-align:middle;
    border-top:1px solid #e9ecef;
    border-bottom:1px solid #e9ecef;
    transition:.30s;
}

.kardes-table tbody td:first-child{
    border-left:1px solid #e9ecef;
    border-radius:12px 0 0 12px;
}

.kardes-table tbody td:last-child{
    border-right:1px solid #e9ecef;
    border-radius:0 12px 12px 0;
}

.kardes-table tbody tr{
    transition:.30s;
}

.kardes-table tbody tr:hover{
    transform:translateY(-3px);
}

.kardes-table tbody tr:hover td{
    background:#f8fbff;
    border-color:#dbe8ff;
    box-shadow:0 10px 25px rgba(13,110,253,.08);
}

/* ==========================================================
   Sol Alan
========================================================== */

.city-info{
    display:flex;
    align-items:center;
    gap:16px;
}

.country-image{
    flex:0 0 auto;
}

.country-image img{
    width:92px;
    height:83px;
    border-radius:6px;
    border:1px solid #dee2e6;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.city-image{
    flex:0 0 auto;
}

.city-image img{
    width:60px;
    height:60px;
    display:block;
    object-fit:cover;
    border-radius:50%;
    border:3px solid #fff;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}

.city-image img{
    transition:.3s;
}

.city-content{
    display:flex;
    flex-direction:column;
}

.city-content h5{
    transition:.3s;
}

.country-name{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:4px 10px;
    margin-bottom:8px;
    border-radius:30px;
    background:#eef5ff;
    color:#0d6efd;
    font-size:11px;
    font-weight:700;
    letter-spacing:.4px;
    text-transform:uppercase;
}

.city-content h5{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#1f2937;
    line-height:1.3;
}

/* ==========================================================
   Sağ Alan
========================================================== */

.decision-date{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    background:linear-gradient(135deg,#0d6efd,#3b82f6);
    color:#fff;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
}

.decision-date i{
    color:#fff;
}

.decision-date{
    box-shadow:0 4px 12px rgba(13,110,253,.18);
}

.decision-number{
    margin-top:10px;
    color:#64748b;
    font-size:14px;
    font-weight:500;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width:991px){

    .kardes-table thead{
        display:none;
    }

    .kardes-table,
    .kardes-table tbody,
    .kardes-table tr,
    .kardes-table td{
        display:block;
        width:100%;
    }

    .kardes-table{
        border-spacing:0;
    }

    .kardes-table tbody tr{
        margin-bottom:18px;
    }

    .kardes-table tbody td{
        border:1px solid #e9ecef;
        border-radius:0 !important;
    }

    .kardes-table tbody td:first-child{
        border-bottom:none;
        border-radius:12px 12px 0 0 !important;
    }

    .kardes-table tbody td:last-child{
        border-top:none;
        border-radius:0 0 12px 12px !important;
    }

}

@media (max-width:576px){

    .city-info{
        gap:12px;
        align-items:flex-start;
    }

    .country-image img{
        width:36px;
        height:24px;
    }

    .city-image img{
        width:44px;
        height:44px;
    }

    .city-content h5{
        font-size:17px;
    }

    .decision-date{
        font-size:12px;
    }

    .decision-number{
        font-size:13px;
    }

}

.kardes-table tbody tr{
    position:relative;
}

.kardes-table tbody tr td:first-child{
    position:relative;
    overflow:hidden;
}

.kardes-table tbody tr td:first-child::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:0;
    background:linear-gradient(180deg,#0d6efd,#0a58ca);
    transition:.30s ease;
}

.kardes-table tbody tr:hover td{
    background:#fbfdff;
    border-color:#cfe2ff;
    box-shadow:0 12px 30px rgba(13,110,253,.10);
}

.kardes-table tbody tr:hover td:first-child::before{
    width:5px;
}

.kardes-table tbody tr:hover .city-image img{
    transform:scale(1.08);
}

.kardes-table tbody tr:hover h5{
    color:#0d6efd;
}