.application-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: default;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.progress-step.clickable {
    cursor: pointer;
}

.progress-step.clickable:hover {
    transform: scale(1.05);
}

.progress-step.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Icons */
.step-icon {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
}

.step-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.step-subtext {
    font-size: 0.7rem;
    color: #6c757d;
}

/* Status colors */
.completed .step-icon { background: #1cc88a; }
.pending .step-icon   { background: #f6c23e; color:#000; }
.incomplete .step-icon{ background: #e74a3b; }

/* Mobile */
@media (max-width: 768px) {
    .application-progress {
        flex-direction: column;
	}
}


.step-caption {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 3px;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Caption colors by status */
.completed .step-caption {
    color: #1cc88a; /* green */
}

.pending .step-caption {
    color: #f6c23e; /* yellow */
}

.incomplete .step-caption {
    color: #e74a3b; /* red */
}

.alert-container {
    position: fixed;
    top: 80px;              /* below navbar */
    right: 20px;
    z-index: 1055;
    width: 350px;
}

.alert-container .alert {
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
	}
    to {
        opacity: 1;
        transform: translateX(0);
	}
}

.img-thumbnail {
    border: 2px dashed #dee2e6;
    padding: 6px;
}
.form-group:hover .img-thumbnail {
    border-color: #4e73df;
}


.subject-fail {
	background-color: #f8d7da;
	border-left: 4px solid #dc3545;
}

.subject-pass {
	background-color: #d4edda;
	border-left: 4px solid #28a745;
}
.hover-card {
    transition: all 0.2s ease;
    border-radius: 10px;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}



#verificationSteps .list-group-item{
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    border-left: 4px solid transparent;
    font-weight: 500;
}

/* Hover effect */
#verificationSteps .list-group-item:hover{
    background-color: #f8f9fc;
    transform: translateX(5px);
    border-left: 4px solid #4e73df;
}

/* Active item */
#verificationSteps .list-group-item.active{
    background: linear-gradient(90deg, #4e73df, #224abe);
    color: #fff;
    border-left: 4px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Icon animation */
#verificationSteps .list-group-item i{
    transition: transform 0.2s ease;
}

#verificationSteps .list-group-item:hover i{
    transform: scale(1.15);
}

/* Smooth sidebar */
#verificationSteps{
    border-radius: 8px;
    overflow: hidden;
}

.body_bg{
	background: url('../img/bg2.jpg') no-repeat center center fixed; 
	background-size: cover;
}

.footer_bg{
	background: url('../img/bg1.jpg') no-repeat center center fixed; 
	background-size: cover;
}

.center_bg{
	background: url('../img/bg3.jpg') no-repeat center center fixed; 
	background-size: cover;
}

/* Container for the slider */
.slider {
    overflow: hidden;
    width: 100%;
    background: #fff;
    padding: 10px 0;
}

/* Track that moves */
.slide-track {
    display: flex;
    width: calc(200px * 10); /* number_of_items × item_width */
    animation: scroll 25s linear infinite;
}

/* Each logo item */
.slide-item {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* Logo images */
.slide-item img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s;
}

/* Hover effect */
.slide-item img:hover {
    transform: scale(1.1);
}

/* Animation for infinite scrolling */
@keyframes scroll {
    0% {
        transform: translateX(0);
	}
    100% {
        transform: translateX(calc(-200px * 5)); /* half of items */
	}
}



.chat-bubble {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
    word-wrap: break-word;
}

/* Sent (Right side - green like WhatsApp) */
.chat-bubble.right {
    background-color: #dcf8c6;
    color: #000;
    border-bottom-right-radius: 2px;
}

/* Received (Left side - white) */
.chat-bubble.left {
    background-color: #ffffff;
    color: #000;
    border-bottom-left-radius: 2px;
    border: 1px solid #ddd;
}

/* Message text */
.message-text {
    margin-bottom: 4px;
}

/* Time */
.message-time {
    font-size: 11px;
    color: #666;
    text-align: right;
}

.chat-bubble {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    word-wrap: break-word;
}

/* LEFT (Student) */
.chat-left {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-bottom-left-radius: 2px;
}

/* RIGHT (Verifier) */
.chat-right {
    background-color: #dcf8c6;
    border-bottom-right-radius: 2px;
}

/* Message text */
.message-text {
    margin-bottom: 4px;
}

/* Time */
.message-time {
    font-size: 11px;
    color: #666;
    text-align: right;
}

/* blue ticks */
.read {
    color: #4fc3f7;
}

.dashboard-header {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    border-radius: 15px;
    padding: 25px;
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
}

.info-label {
    font-size: 12px;
    opacity: 0.8;
}

.info-value {
    font-weight: 600;
}

.card-hover:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.card-round {
    border-radius: 18px !important;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.custom-tooltip {
    position: relative;
    cursor: pointer;
}

/* Tooltip box */
.custom-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    
    background: #343a40;
    color: #fff;
    
    padding: 10px 12px;
    border-radius: 6px;
    
    width: 280px;
    font-size: 13px;
    line-height: 1.4;
    
    opacity: 0;
    visibility: hidden;
    
    transition: all 0.25s ease;
    
    z-index: 9999;
    text-align: left;
}

/* Arrow */
.custom-tooltip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #343a40 transparent;
    
    opacity: 0;
    visibility: hidden;
    
    transition: all 0.25s ease;
}

/* Show on hover */
.custom-tooltip:hover::after,
.custom-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.custom-modal .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    
    width: 400px;
    max-width: 90%;
    
    margin: 10% auto;
    
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    
    background: rgba(0,0,0,0.5);
    
    overflow-y: auto; /* ✅ enables scrolling */
    padding: 40px 10px; /* spacing from top */
}

/* Modal box */
.custom-modal .modal-content {
    background: #fff;
    margin: auto;
    margin-top: 20px; /* ✅ move to top */
    
    padding: 20px;
    border-radius: 8px;
    
    width: 800px;
    max-width: 95%;
    
    max-height: 90vh; /* ✅ limit height */
    overflow-y: auto; /* ✅ inner scroll */
    
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.modal-fullscreen {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border-radius: 0;
}

.modal-fullscreen .modal-body {
    overflow-y: auto;
}


#processBox{
	display:none;
}

.progress{
	height:28px;
	border-radius:30px;
	overflow:hidden;
}

.progress-bar{
	font-weight:bold;
	animation: progressGlow 1.2s infinite;
}

@keyframes progressGlow{
	0%{opacity:0.8;}
	50%{opacity:1;}
	100%{opacity:0.8;}
}

.loader-icon{
	font-size:45px;
	animation: spin 1s linear infinite;
}

@keyframes spin{
	from{transform:rotate(0deg);}
	to{transform:rotate(360deg);}
}

.college-link{
	transition: all 0.25s ease;
}

.college-link:hover{
	transform: translateY(-2px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
	background:#f8f9fc;
	border-color:#4e73df;
}

.college-link:hover .text-dark{
	color:#4e73df !important;
}

.footer-badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(255,255,255,0.22);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.35);
    color:#ffffff;
    font-size:15px;
    font-weight:500;
    text-shadow:0 2px 5px rgba(0,0,0,.55);
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

@media(max-width:768px){
    .footer-badge{
        font-size:13px;
        line-height:1.6;
        padding:10px 16px;
        border-radius:18px;
    }
}

.translucent-title{
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.28);
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
    font-weight: 700;
    letter-spacing: .4px;
}

.hero-title{
    display:inline-block;
    padding:14px 34px;
    background:rgba(255,255,255,.22);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.35);
    border-radius:60px;
    color:#1f2937;
    font-size:20px;
    font-weight:600;
    letter-spacing:.5px;
    box-shadow:0 8px 24px rgba(0,0,0,.10);
    text-shadow:0 2px 4px rgba(255,255,255,.7);
}
.step-horizontal{
    display:flex;
    flex-wrap:wrap;
    width:100%;
    overflow:hidden;
    border:1px solid #dbe3ef;
    border-radius:10px;
    background:#fff;
}

/* =========================
   STEP BOX
========================= */
.step-box{
    flex:1;
    min-width:135px;
    background:#fff;
    padding:10px 8px 12px;
    text-align:center;
    position:relative;
    cursor:pointer;
    transition:.25s ease;
    border-right:1px solid #e5e9f2;
}

.step-box:last-child{
    border-right:none;
}

.step-box:hover{
    background:#f8fbff;
}

/* =========================
   TOP OUTLINE BAR
========================= */
.step-box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:transparent;
    transition:.25s ease;
}

.step-box:hover::before{
    background:#4e73df;
}

/* =========================
   BADGE
========================= */
.step-no{
    width:26px;
    height:26px;
    border-radius:50%;
    margin:0 auto 6px;
    
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:12px;
    font-weight:700;

    background:#fff;
    color:#6b7280;
    border:2px solid #cfd8e6;
    transition:.25s ease;
}

/* =========================
   ICON
========================= */
.step-box i{
    font-size:20px;
    margin-bottom:6px;
    color:#4e73df;
    display:block;
}

/* =========================
   TITLE
========================= */
.step-title{
    font-size:14px;
    font-weight:600;
    color:#374151;
    line-height:1.25;
}

/* =========================
   ACTIVE
========================= */
.step-box.active{
    background:#eef5ff;
}

.step-box.active::before{
    background:#0b4f8a;
}

.step-box.active .step-no{
    border-color:#0b4f8a;
    color:#0b4f8a;
    background:#fff;
}

.step-box.active i,
.step-box.active .step-title{
    color:#0b4f8a;
}

/* =========================
   COMPLETED
========================= */
.step-box.completed::before{
    background:#1cc88a;
}

.step-box.completed .step-no{
    background:#fff;
    border-color:#1cc88a;
    color:#1cc88a;
	font-size:12px;
    font-weight:600;
    line-height:1;
}

.step-box.completed i{
    color:#1cc88a;
}

.step-box.completed .step-title{
    color:#166534;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

    .step-box{
        flex:0 0 50%;
        border-bottom:1px solid #e5e9f2;
    }

    .step-box:nth-child(2n){
        border-right:none;
    }
}

@media(max-width:576px){

    .step-box{
        flex:0 0 100%;
        border-right:none;
    }
}

#seatMatrixTable tbody tr.seat-row:hover{
    cursor: pointer !important;
}

   .college-card{
        border-radius: 16px;
        transition: all 0.25s ease;
        cursor: pointer;
        background: #fff;
    }
    
    .college-card:hover{
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.12) !important;
        border-left: 4px solid #4e73df;
    }
    
    .college-card:hover h6{
        color: #4e73df !important;
    }
    
    .college-card .badge{
        font-size: 12px;
        font-weight: 600;
    }
    