.required-label::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.openings-hero {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

    .openings-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/pattern.png') repeat;
        opacity: 0.1;
    }

.openings-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.openings-title {
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.table thead th {
    background: #225594;
    color: white;
    font-weight: 600;
    padding: 12px;
}

.table tbody tr:hover {
    background: #f5f5f5;
    cursor: pointer;
}

.no-openings-card {
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.no-openings-icon {
    font-size: 4rem;
    color: #dee2e6;
}

.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-radius: 15px 15px 0 0;
    background: #225594;
}

.form-control:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.cgpa-hint {
    font-size: 12px;
    padding: 8px;
    border-radius: 5px;
    margin-top: 5px;
    background: #e3f2fd;
    color: #0d47a1;
}

.input-counter {
    font-size: 11px;
    color: #6c757d;
}

    .input-counter.max {
        color: #dc3545;
    }
/* Success message below submit button */
#submitSuccessMessage .alert {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left: 5px solid #28a745;
    animation: fadeInUp 0.5s ease;
    border-radius: 12px;
}

    #submitSuccessMessage .alert i {
        color: #28a745;
        font-size: 1.8rem;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#submitSuccessMessage:not(.d-none) {
    display: block !important;
}

