﻿/* =========================================================
   Admin Tickets — Details
   Fully scoped so it cannot affect Index/Dashboard/other pages
   ========================================================= */

.admin-ticket-detail-page {
    direction: rtl;
    width: 100%;
}

    .admin-ticket-detail-page .admin-ticket-detail-container {
        width: min(1180px, calc(100% - 32px));
        margin: 0 auto;
        padding: 8px 0 35px;
    }

    .admin-ticket-detail-page .admin-ticket-back-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-bottom: 14px;
        color: #64748b;
        text-decoration: none;
        font-size: .72rem;
        transition: color .2s ease, transform .2s ease;
    }

        .admin-ticket-detail-page .admin-ticket-back-link:hover {
            color: #0891b2;
            transform: translateX(2px);
        }

    .admin-ticket-detail-page .admin-ticket-detail-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 23px 25px;
        margin-bottom: 14px;
        border-radius: 24px;
    }

    .admin-ticket-detail-page .admin-ticket-detail-main {
        display: flex;
        align-items: center;
        gap: 15px;
        min-width: 0;
    }

    .admin-ticket-detail-page .admin-ticket-detail-icon {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 17px;
        color: #0891b2;
        background: rgba(6,182,212,.10);
    }

        .admin-ticket-detail-page .admin-ticket-detail-icon i {
            font-size: 1.15rem;
        }

    .admin-ticket-detail-page .admin-ticket-detail-id {
        display: block;
        margin-bottom: 3px;
        color: #94a3b8;
        font-size: .62rem;
        direction: ltr;
        text-align: right;
    }

    .admin-ticket-detail-page .admin-ticket-detail-header h1 {
        margin: 0 0 5px;
        color: #172033;
        font-size: 1.05rem;
        font-weight: 750;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .admin-ticket-detail-page .admin-ticket-detail-resident {
        display: flex;
        align-items: center;
        gap: 7px;
        flex-wrap: wrap;
        color: #94a3b8;
        font-size: .66rem;
    }

        .admin-ticket-detail-page .admin-ticket-detail-resident i {
            color: #0891b2;
        }
