<?php include 'header.php'; ?>

<style>

    body{
        background:#f5f7fb;
    }

    /* PAGE TOP */
    .page-top{
        display:flex;
        align-items:center;
        justify-content:space-between;
        margin-bottom:18px;
    }

    .page-title{
        font-size:20px;
        font-weight:700;
        color:#111827;
        margin:0;
    }

    .back-btn{
        width:38px;
        height:38px;
        border-radius:10px;
        background:#2563eb;
        color:#fff;
        display:flex;
        align-items:center;
        justify-content:center;
        transition:0.3s;
        text-decoration:none;
    }

    .back-btn:hover{
        background:#1d4ed8;
        color:#fff;
        transform:translateY(-1px);
    }

    /* CARD */
    .ticket-card{
        background:#fff;
        border-radius:18px;
        padding:22px;
        box-shadow:0 4px 20px rgba(0,0,0,0.05);
        border:1px solid #edf2f7;
    }

    .ticket-header{
        margin-bottom:22px;
        padding-bottom:14px;
        border-bottom:1px solid #f1f5f9;
    }

    .ticket-heading{
        font-size:20px;
        font-weight:700;
        color:#111827;
        margin-bottom:4px;
    }

    .ticket-subtitle{
        font-size:13px;
        color:#64748b;
    }

    /* DETAILS */
    .detail-grid{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .detail-item{
        background:#f8fbff;
        border:1px solid #e2e8f0;
        border-radius:14px;
        padding:14px;
    }

    .detail-label{
        font-size:12px;
        color:#64748b;
        margin-bottom:5px;
        font-weight:600;
    }

    .detail-value{
        font-size:15px;
        font-weight:700;
        color:#111827;
        word-break:break-word;
    }

    /* DESCRIPTION */
    .description-box{
        margin-top:16px;
        background:#eff6ff;
        border:1px solid #dbeafe;
        border-radius:14px;
        padding:16px;
    }

    .description-title{
        font-size:14px;
        font-weight:700;
        color:#1e3a8a;
        margin-bottom:8px;
    }

    .description-text{
        font-size:14px;
        color:#475569;
        line-height:1.7;
    }

    /* BADGE */
    .ticket-badge{
        display:inline-block;
        background:#dbeafe;
        color:#2563eb;
        font-size:12px;
        font-weight:700;
        padding:6px 12px;
        border-radius:30px;
    }

    /* MOBILE */
    @media(max-width:768px){

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

        .ticket-card{
            padding:18px;
        }

        .page-title{
            font-size:18px;
        }

    }

</style>

<div class="dashboard-main-body">

    <!-- TOP -->
    <div class="page-top">

        <h5 class="page-title">
            View Ticket
        </h5>

        <a href="ticket.php" class="back-btn">

            <iconify-icon icon="ic:baseline-arrow-back"></iconify-icon>

        </a>

    </div>

    <!-- CARD -->
    <div class="ticket-card">

        <!-- HEADER -->
        <div class="ticket-header">

            <div class="ticket-heading">
                Ticket #T-101
            </div>

            <div class="ticket-subtitle">
                Support Ticket Details
            </div>

        </div>

        <!-- DETAILS -->
        <div class="detail-grid">

            <div class="detail-item">

                <div class="detail-label">
                    Ticket Number
                </div>

                <div class="detail-value">
                    T-101
                </div>

            </div>

            <div class="detail-item">

                <div class="detail-label">
                    Create Date
                </div>

                <div class="detail-value">
                    25/12/2000
                </div>

            </div>

            <div class="detail-item">

                <div class="detail-label">
                    Subject
                </div>

                <div class="detail-value">
                    Login Issue
                </div>

            </div>

            <div class="detail-item">

                <div class="detail-label">
                    Status
                </div>

                <div class="detail-value">
                    <span class="ticket-badge">
                        Open
                    </span>
                </div>

            </div>

        </div>

        <!-- DESCRIPTION -->
        <div class="description-box">

            <div class="description-title">
                Ticket Description
            </div>

            <div class="description-text">
                I am login in my account but still getting an error saying 
                "User not Found?"
            </div>

        </div>

    </div>

</div>

<?php include 'footer.php'; ?>