/* --- Background & Layout --- */
.scholarship-check-section {
    background: linear-gradient(135deg, #f2f9f6 0%, #e0f2ec 100%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.bg-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(11, 108, 89, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 108, 89, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

/* --- Glassmorphism Card --- */
.scholarship-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow:
        0 15px 35px rgba(11, 108, 89, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.03);
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* --- Top Icon --- */
.icon-wrapper .icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0f6b59 0%, #4db092 100%);
    color: #ffffff;
    font-size: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(15, 107, 89, 0.2);
}

/* --- Typography --- */
.text-gradient {
    background: linear-gradient(90deg, #0f6b59, #4db092);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Form Input & Floating Label --- */
.custom-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    height: 60px !important;
    padding-left: 3.2rem !important; /* Space for the icon */
    font-size: 1rem;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
}

.custom-label {
    padding-left: 3.2rem !important; /* Align label with input text */
    color: #8da49f;
}

.custom-input:focus {
    border-color: #0f6b59;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 107, 89, 0.1) !important;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #a0b5b0;
    z-index: 5;
    transition: color 0.3s ease;
    pointer-events: none;
}

/* Change icon color when input is focused */
.custom-input:focus ~ .input-icon {
    color: #0f6b59;
}

.helper-text {
    font-size: 0.85rem;
    color: #64748b !important;
}

/* --- CTA Button --- */
.btn-premium {
    background: linear-gradient(135deg, #0f6b59 0%, #228b72 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(15, 107, 89, 0.2);
}

.btn-premium:hover,
.btn-premium:focus {
    background: linear-gradient(135deg, #0c5647 0%, #1e7a63 100%);
    color: #ffffff;
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 107, 89, 0.35);
}

/* --- Load Animation --- */
@keyframes fadeUpAnim {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 576px) {
    .scholarship-glass-card {
        padding: 2rem 1.5rem !important;
    }
    .icon-wrapper .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .text-gradient {
        font-size: 1.8rem;
    }
}

/* =========================================
   ANNOUNCEMENTS & NEWS SECTION
========================================= */

.pragya-title-teal {
    color: #0f6b59;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pragya-news-card {
    border: 1px solid #f0f4f8;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.pragya-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 107, 89, 0.08) !important;
    border-color: #e0f2ec;
}

/* Left Accent Line */
.news-accent-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}
.news-accent-line.active {
    background: linear-gradient(180deg, #0f6b59, #4db092);
}
.news-accent-line.inactive {
    background: #cbd5e1;
}

/* Icon Box */
.news-icon-box {
    width: 45px;
    height: 45px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}
.bg-teal-light {
    background-color: #e0f2ec;
}
.text-teal {
    color: #0f6b59 !important;
}
.line-height-normal {
    line-height: 1.5;
}

/* Pulsing 'Live Now' Badge */
.pulse-badge-danger {
    background-color: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35em 0.65em;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pragyaBadgePulse 2s infinite;
}

@keyframes pragyaBadgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .pragya-news-card {
        padding: 1.25rem !important;
    }
    .news-icon-box {
        width: 35px;
        height: 35px;
    }
    .news-icon-box i {
        font-size: 1rem !important;
    }
}
