/* PEBS Exam Manager Styles */
/* .pebs-exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
    margin: 20px 0;
}

.exam-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.exam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.exam-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.exam-card p {
    margin: 5px 0;
}

.exam-card .pebs-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
    transition: background 0.2s;
}

.exam-card .pebs-btn:hover {
    background: #005177;
} */

.fw-500{
    font-weight: 500;
}

.bg-white-container{
    background-color: #fff;
    padding: 20px;
    border: 1px solid #F1F1F3;
    border-radius: 6px;
}
.bg-white-container h2{
    color: #191919!important
}

/* Exam Details */
.pebs-exam-card {
    max-width: 700px;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pebs-exam-card h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pebs-exam-card p {
    margin: 5px 0;
}

.pebs-exam-card .exam-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0073aa;
}

.exam-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.exam-slots button {
    padding: 8px 12px;
    border: 1px solid #0073aa;
    background: #fff;
    color: #0073aa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.exam-slots button:hover:not([disabled]) {
    background: #0073aa;
    color: #fff;
}

.exam-slots button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Booking Form */
.pebs-booking-form {
    margin-top: 20px;
}

.pebs-booking-form form p {
    margin-bottom: 10px;
}

.pebs-booking-form input, 
.pebs-booking-form select,
.pebs-booking-form button {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.pebs-booking-form button {
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.pebs-booking-form button:hover {
    background: #005177;
}

/* Dashboard */
.pebs-dashboard ul {
    list-style: disc inside;
    padding-left: 0;
}

.pebs-dashboard li {
    padding: 5px 0;
}

.pebs-bookings-table{
width:100%;
border-collapse:collapse;
margin-top:15px;
}

.pebs-bookings-table th,
.pebs-bookings-table td{
border:1px solid #ddd;
padding:10px;
text-align:left;
}

.pebs-bookings-table th{
background:#f5f5f5;
}

.status-confirmed{
color:green;
font-weight:bold;
}

.status-cancelled{
color:red;
font-weight:bold;
}

.status-rescheduled{
color:#ff9800;
font-weight:bold;
}

.status-awaiting_payment{
	color:#e36464;
    font-weight:bold;
}

.pebs-logout-btn{
background:#ff4d4d;
color:white;
padding:8px 16px;
border-radius:5px;
text-decoration:none;
}

.pebs-logout-btn:hover{
background:#d60000;
}

.pebs-calendar-legend{
margin-bottom:15px;
font-size:14px;
display:flex;
gap:20px;
align-items:center;
}

.legend-item{
display:flex;
align-items:center;
gap:6px;
}

.legend-color{
width:14px;
height:14px;
display:inline-block;
border-radius:3px;
}

.legend-color.green{
background:#28a745;
}

.legend-color.yellow{
background:#ffc107;
}

.legend-color.red{
background:#dc3545;
}

.slot-btn{
padding: 12px 35px 12px 20px;
border:1px solid #F5F5F5;
background:#F5F5F5;
color:#000;
border-radius:6px;
margin-right:10px;
cursor:pointer;
position: relative;
}

.slot-btn span{
    position: relative;
    left: 15px
}

.slot-btn::before{   
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background-color: #10C61C;
    border-radius: 50%;
    top: 16px;
}

.slot-btn:hover::before,.slot-btn.active::before{
   background-color: #fff    
}


.slot-btn:disabled{
background:#eee;
color:#999;
cursor:not-allowed;
}

.slot-btn:hover,.slot-btn.active{
background:#10C61C;
color:#fff;
border-color:#10C61C;
}

.status-confirmed { color: green; font-weight: bold; }
.status-cancelled { color: red; font-weight: bold; }
.status-rescheduled { color: orange; font-weight: bold; }


/* SIDEBAR (GLASS EFFECT) */
.pebs-sidebar {
    width: 280px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.pebs-sidebar h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

/* INPUTS */
.pebs-sidebar input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    transition: 0.2s;
}

.pebs-sidebar input:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
}

/* BUTTONS */
#pebs-filter-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
}

#pebs-clear-btn {
    width: 100%;
    padding: 10px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

/* RESULTS GRID */
.pebs-results {
    flex: 1;
}

.pebs-exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* CARD DESIGN (PREMIUM) */
.exam-card {
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover glow */
.exam-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

/* Gradient top bar */
.exam-card::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(90deg,#6366f1,#22c55e);
}

/* TITLE */
.exam-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* META TEXT */
.exam-card p {
    font-size: 14px;
    margin-bottom: 6px;
    color: #4b5563;
}

/* BADGES */
.exam-card strong {
    color: #111827;
}

/* AVAILABILITY BADGE */
.available {
    color: #16a34a;
    font-weight: 600;
}

.full {
    color: #dc2626;
    font-weight: 600;
}

/* BUTTON */
.pebs-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.pebs-btn:hover {
    background: linear-gradient(135deg,#4f46e5,#4338ca);
}

.pebs-booking-container{
    display:flex;
    gap:30px;
    margin-top:30px;
    align-items:flex-start;
    max-width: 1300px;
}

.pebs-booking-left{
    flex:2;
}

.pebs-booking-right{
    flex:1;
}

.pebs-summary-card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    position:sticky;
    top:20px;
}

.pebs-summary-card h3{
    margin-bottom:15px;
    font-size:18px;
}

.pebs-summary-card p{
    margin:10px 0;
    font-size:14px;
}

.pebs-price{
    font-size:18px;
    color:#0a7cff;
    font-weight:bold;
}

/* LOADING EFFECT */
#pebs-exam-results.loading {
    opacity: 0.5;
    pointer-events: none;
}

.pebs-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.pebs-filter-group label {
    background: #f9fafb;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.pebs-filter-group label:hover {
    background: #eef2ff;
}

.pebs-filter-group input {
    margin-right: 6px;
}

/* FILTER GROUP */
.pebs-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* CUSTOM CHECKBOX */
.pebs-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Hover */
.pebs-checkbox:hover {
    background: #eef2ff;
    border-color: #6366f1;
}

/* Hide default checkbox */
.pebs-checkbox input {
    display: none;
}

/* Custom box */
.pebs-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #c7d2fe;
    background: #fff;
    position: relative;
}

/* Checked state */
.pebs-checkbox input:checked + .checkmark {
    background: #6366f1;
    border-color: #6366f1;
}

/* Tick */
.pebs-checkbox input:checked + .checkmark::after {
    content: "✔";
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: -2px;
    left: 3px;
}

/* Label text */
.pebs-checkbox .label-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Active state */
.pebs-checkbox input:checked ~ .label-text {
    color: #111827;
    font-weight: 600;
}

/* Section heading */
.pebs-sidebar h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Divider */
.pebs-sidebar hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.pebs-exam-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:15px;
}

.pebs-exam-card{
    position:relative;
    background:#F5F5F5;
    border-radius:12px;
    overflow:hidden;
    padding-bottom:15px;
    transition:0.3s;
    border:1px solid #F5F5F5;
}

.pebs-thumb img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.pebs-exam-check-container{
    position:absolute;
    top:20px;
    right:20px;
    width:20px;
    height:20px;
    z-index:2;
}

.pebs-exam-check{
    position:absolute;
    top:20px;
    right:20px;
    width:20px;
    height:20px;
    z-index:2;
}

.pebs-fees{
    display:flex;
    justify-content:space-between;
    padding:10px 0px;
    gap:5px;
}

.pebs-fees .fees-box{
    background:#111;
    color:#fff;
    padding:5px 8px;
    border-radius:6px;
    font-size:12px;
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    line-height: 20px;
}

.pebs-fees .fees-box div{
    color: #A6A6A6
}

.pebs-fees .fees-box span{
    font-size: 14px
}

.pebs-exam-card h4{
    padding:0 0px;
    margin:10px 0 10px;
    font-weight: 600;
}

.pebs-meta{
    padding:0 0px;
    font-size:13px;
    color:#666;
}

.pebs-availability{
    padding:0 10px;
    font-size:13px;
}

.pebs-exam-card.selected{
    border:2px solid #28a745;
}

.pebs-exam-card:hover{
    transform:translateY(-5px);
}

.custom-checkbox{
    display:flex;
    align-items:center;
    cursor:pointer;
    font-size:14px;
    gap:8px;
}

/* Hide default checkbox */
.custom-checkbox input{
    display:none;
}

/* Custom box */
.checkmark{
    width:18px;
    height:18px;
    border:2px solid #ccc;
    border-radius:4px;
    position:relative;
    transition:0.3s;
}

/* Tick */
.checkmark::after{
    content:"";
    position:absolute;
    left:5px;
    top:1px;
    width:5px;
    height:10px;
    border:solid #fff;
    border-width:0 2px 2px 0;
    transform:rotate(45deg) scale(0);
    transition:0.2s;
}

/* Checked state */
.custom-checkbox input:checked + .checkmark{
    background:#10C61C;
    border-color:#10C61C;
}

.custom-checkbox input:checked + .checkmark::after{
    transform:rotate(45deg) scale(1);
}

.pebs-container {
    max-width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pebs-title {
    font-size: 26px;
    margin-bottom: 20px;
}

.pebs-card {
    max-width: 900px;
    margin: 0px auto;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #ddd
}

.pebs-exam-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.pebs-meta {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #555;
}

.pebs-form h4 {
    margin-bottom: 20px;
}

.pebs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.pebs-row {
    margin-bottom: 15px;
}

.pebs-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.pebs-form input,
.pebs-form select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.pebs-radio {
    margin-right: 20px;
}

.pebs-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    max-width: 900px;
    margin: 0px auto;
}

.pebs-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.pebs-primary {
    background: #ff5a1f;
    color: #fff;
}

.pebs-back {
    background: #eee;
    margin-right: 20px;
    color: #000;
}


.btn-okay{
	display: inline-block;
    width: 100%;
    padding: 12px;
    background: #e85517;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

@media(max-width:768px){
    .pebs-exam-grid{
        grid-template-columns:1fr;
    }
}

/* MOBILE */
@media(max-width: 900px){
    .pebs-container {
        flex-direction: column;
    }

    .pebs-sidebar {
        width: 100%;
        position: static;
    }
}

/* Responsive */
@media (max-width: 600px){
    .pebs-exam-grid {
        grid-template-columns: 1fr;
    }
}

