/*==========================================
    ABGCS Ticket Booking Theme
==========================================*/

:root{
    --primary:#0B7A1D;
    --secondary:#F57C00;
    --medical:#E53935;
    --blue:#0B2E6B;
    --white:#ffffff;
    --light:#f5f7fa;
    --border:#dfe6e9;
    --text:#2d3436;
}

body{
    background:linear-gradient(135deg,#f8fff9,#fffdf8);
}

/* Main Container */

.tbm-form-wrap,
.tbm-dashboard-wrap{
    max-width:850px;
    margin:30px auto;
    padding:30px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border-top:6px solid var(--primary);
    font-family:'Segoe UI',sans-serif;
}

/* Heading */

.tbm-booking-form h2,
.tbm-booking-form h3{
    color:var(--blue);
    text-align:center;
    font-weight:700;
    margin-bottom:20px;
    position:relative;
}

.tbm-booking-form h3:after{
    content:"";
    width:70px;
    height:4px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    display:block;
    margin:12px auto 0;
    border-radius:10px;
}

/* Fields */

.tbm-field{
    margin-bottom:18px;
}

.tbm-field label{
    display:block;
    color:var(--blue);
    font-weight:600;
    margin-bottom:8px;
}

.tbm-field input,
.tbm-field select,
.tbm-field textarea{

    width:100%;
    padding:13px 15px;
    border:2px solid #d9d9d9;
    border-radius:12px;
    transition:.3s;
    background:#fff;
}

.tbm-field input:focus,
.tbm-field textarea:focus,
.tbm-field select:focus{

    border-color:var(--primary);
    box-shadow:0 0 10px rgba(11,122,29,.2);
    outline:none;
}

/* Note */

.tbm-note{

    background:#ecfff0;
    border-left:5px solid var(--primary);
    padding:15px;
    border-radius:12px;
    color:#2e7d32;
    font-size:14px;
}

/* Plans */

.tbm-plans-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin:25px 0;
}

.tbm-plan-card{

    background:#fff;
    border-radius:18px;
    border:2px solid #eee;
    padding:20px;
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.tbm-plan-card:hover{

    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.tbm-plan-card:has(input:checked){

    border:3px solid var(--primary);
    box-shadow:0 0 0 4px rgba(11,122,29,.12);
}

/* Top Border */

.tbm-plan-gold{
    border-top:6px solid #FFD700;
}

.tbm-plan-silver{
    border-top:6px solid #9E9E9E;
}

.tbm-plan-bronze{
    border-top:6px solid #CD7F32;
}

/* Plan Title */

.tbm-plan-name{

    display:block;
    color:var(--blue);
    font-size:22px;
    font-weight:bold;
}

.tbm-plan-price{

    color:var(--medical);
    font-size:34px;
    font-weight:800;
    margin:10px 0;
}

.tbm-plan-duration{

    color:#666;
    font-size:14px;
}

.tbm-plan-benefits{

    margin-top:15px;
    padding-left:20px;
}

.tbm-plan-benefits li{

    margin-bottom:8px;
    color:#444;
}

/* Button */

.tbm-submit-btn,
.tbm-download-btn{

    background:linear-gradient(135deg,var(--primary),#159a31);
    color:#fff!important;
    padding:14px 35px;
    border:none;
    border-radius:50px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.tbm-submit-btn:hover,
.tbm-download-btn:hover{

    background:linear-gradient(135deg,var(--secondary),#ff9800);
    transform:translateY(-2px);
}

/* Alerts */

.tbm-alert{

    border-radius:12px;
    padding:15px;
    margin-bottom:20px;
}

.tbm-alert-success{

    background:#ecfff0;
    border-left:5px solid var(--primary);
    color:#2e7d32;
}

.tbm-alert-error{

    background:#fff1f0;
    border-left:5px solid var(--medical);
    color:#d32f2f;
}

/* Dashboard Cards */

.tbm-booking-card{

    background:#fff;
    border-left:6px solid var(--primary);
    border-radius:15px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.tbm-booking-card-top{

    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* Status */

.tbm-badge{

    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    color:#fff;
}

.tbm-badge-approved{

    background:var(--primary);
}

.tbm-badge-pending{

    background:var(--secondary);
}

.tbm-badge-rejected{

    background:var(--medical);
}

/* Admin */

.tbm-admin-wrap .tbm-plan-form-box{

    background:#fff;
    border-radius:15px;
    border-left:5px solid var(--blue);
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
}

/* Mobile */

@media(max-width:768px){

.tbm-form-wrap,
.tbm-dashboard-wrap{

    padding:20px;
    margin:15px;
}

.tbm-booking-card-top{

    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.tbm-submit-btn,
.tbm-download-btn{

    width:100%;
}

}