/* ============================================
   Rezervasyonlarım - Modern Professional Design
   ============================================ */

/* Container */
.rez-container {
    padding: 30px 0;
    min-height: 60vh;
}
.rez-container .row {
    display: flex;
    flex-wrap: wrap;
}
.rez-container .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Override global .listing.msj styles inside this page */
.rez-container .listing,
.rez-container .listing.msj {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* ===================== SIDEBAR ===================== */
.rez-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.07), 0 0 1px rgba(0,0,0,0.08);
    overflow: hidden;
    position: sticky;
    top: 20px;
    border: 1px solid #e8eef2;
}

.rez-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1c85b0 0%, #1a6f94 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.rez-sidebar-header i {
    font-size: 16px;
    opacity: 0.9;
}

/* Ticket Menu (Sidebar Liste) */
.rez-sidebar-list.ticket_menu,
.ticket_menu {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.ticket_menu ul {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.ticket_menu ul li {
    display: block;
    width: 100%;
}

.ticket_menu ul li:before {
    display: none !important;
    content: none !important;
}

.ticket_menu ul li a {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    width: 100%;
    color: #4a5568;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-bottom: none !important;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.ticket_menu ul li a:hover {
    background: #f0f7fb;
    color: #1c85b0;
    border-left-color: #1c85b0;
    font-weight: 500;
}

.ticket_menu ul li a.active {
    background: #e6f3f9;
    color: #1c85b0;
    font-weight: 600;
    border-left-color: #1c85b0;
}

.ticket_menu ul li:last-child a {
    border-bottom: 0 !important;
}

/* ===================== DETAIL CARD ===================== */
.rez-detail-card {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 10px rgba(0,0,0,0.07), 0 0 1px rgba(0,0,0,0.08) !important;
    padding: 24px !important;
    margin-bottom: 20px;
    border: 1px solid #e8eef2 !important;
    min-height: 80px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rez-detail-card:empty {
    display: none;
}

/* Table styling inside detail card */
.rez-detail-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rez-detail-card table th {
    background: #f7fafc;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e2e8f0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.rez-detail-card table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f4f8;
    color: #4a5568;
    vertical-align: middle;
}

.rez-detail-card table tr:last-child td {
    border-bottom: none;
}

.rez-detail-card table tr:hover td {
    background: #fafcfe;
}

/* ===================== TALEPLER ===================== */
.rez-talepler-wrap {}

.rez-talep-baslik {
    display: block;
    padding: 12px 18px;
    border: 1px solid #e0e7ed;
    border-radius: 10px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    background: #f8fafc;
}

.rez-talep-baslik:empty {
    display: none;
}

.rez-talep-baslik.main {
    display: block;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #546e7a 0%, #607d8b 100%);
    padding: 14px 20px;
    letter-spacing: 0.2px;
}

/* Talep Mesajlar */
.rez-talep-mesajlar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rez-talep-mesajlar li {
    display: block;
    background: #f8fbfe;
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid #dce8ef;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.rez-talep-mesajlar li:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.rez-talep-mesajlar li:first-child {
    margin-top: 0;
}

.rez-talep-mesajlar li.yonetici {
    background: #f7f7f7;
    border-color: #e2e2e2;
}

.rez-talep-mesajlar li .top {
    position: relative;
    padding: 10px 140px 10px 18px;
    background: linear-gradient(135deg, #e4f1f8 0%, #d0edf4 100%);
    display: flex;
    align-items: center;
    min-height: 46px;
}

.rez-talep-mesajlar li.yonetici .top {
    background: linear-gradient(135deg, #ececec 0%, #e2e2e2 100%);
}

.rez-talep-mesajlar li .top .icon {
    font-size: 15px;
    margin-right: 8px;
    color: #1c85b0;
}

.rez-talep-mesajlar li.yonetici .top .icon {
    color: #888;
}

.rez-talep-mesajlar li .top .name {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    padding: 0;
}

.rez-talep-mesajlar li .top .date {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #718096;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0,0,0,0.04);
    border-top-right-radius: 10px;
    white-space: nowrap;
}

.rez-talep-mesajlar li.yonetici .date {
    background: rgba(0,0,0,0.05) !important;
    color: #999 !important;
}

.rez-talep-mesajlar li .body {
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #4a5568;
}

.rez-talep-mesajlar li .body .head {}

.rez-talep-mesajlar li .body p {
    margin: 0 0 8px;
}

.rez-talep-mesajlar li .body p:last-child {
    margin-bottom: 0;
}

/* ===================== LOGIN FORM ===================== */
.ticket_form {
    background: #fff !important;
    border: none !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08) !important;
    border-radius: 16px !important;
    padding: 36px 32px !important;
    margin: 40px auto !important;
    max-width: 460px;
}

.ticket_form .form-group {
    margin-bottom: 20px;
}

.ticket_form label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
    display: block;
}

.ticket_form input[type="text"],
.ticket_form input[type="email"],
.ticket_form input {
    border-radius: 10px !important;
    height: 48px !important;
    border: 2px solid #e0e7ed !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.ticket_form input:focus {
    border-color: #1c85b0 !important;
    box-shadow: 0 0 0 3px rgba(28,133,176,0.12) !important;
    outline: none !important;
}

.ticket_form .text-muted {
    color: #e53935 !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.ticket_form .btn {
    float: right;
    color: #fff !important;
    background: linear-gradient(135deg, #1c85b0, #1a6f94) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 40px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(28,133,176,0.25);
    line-height: 1.5;
}

.ticket_form .btn:hover {
    background: linear-gradient(135deg, #166a90, #0e5570) !important;
    box-shadow: 0 5px 18px rgba(28,133,176,0.35);
    transform: translateY(-1px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .rez-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .rez-container .row {
        display: block;
    }
}

@media (max-width: 768px) {
    .rez-container {
        padding: 15px 0;
    }

    .rez-detail-card {
        padding: 16px !important;
        border-radius: 10px !important;
    }

    .rez-sidebar {
        border-radius: 10px;
    }

    .rez-sidebar-header {
        padding: 14px 16px;
        font-size: 14px;
    }

    .ticket_menu ul li a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .ticket_form {
        padding: 24px 20px !important;
        margin: 20px auto !important;
        border-radius: 14px !important;
    }

    .ticket_form .btn {
        width: 100%;
        float: none;
        text-align: center;
    }

    .rez-talep-mesajlar li .top {
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .rez-talep-mesajlar li .top .date {
        position: static;
        width: 100%;
        padding: 6px 0 0;
        background: none !important;
        font-size: 11px;
        border-radius: 0;
    }

    .rez-talep-mesajlar li .body {
        padding: 14px 16px;
        font-size: 13px;
    }

    .rez-detail-card table {
        font-size: 12px;
    }

    .rez-detail-card table th,
    .rez-detail-card table td {
        padding: 8px 10px;
    }
}
