/* Import global variables if needed, otherwise defining basics */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8ff;
    --bg-gradient: linear-gradient(135deg, rgba(0, 86, 179, 0.9), rgba(0, 168, 255, 0.8));
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-gradient), url('https://source.unsplash.com/1600x900/?education') center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Back Button in Nav */
.btn-back {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 20px;
    transition: 0.3s;
}

.btn-back:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Main Wrapper */
.admit-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
    /* Space for fixed header */
}

/* Glass Card */
.glass-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Icon */
.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.card-header h2 {
    margin-bottom: 10px;
    color: #333;
}

.card-header p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Input Field */
.form-group {
    text-align: left;
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-box i {
    position: absolute;
    left: 15px;
    color: #888;
}

.input-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Error Text */
.error-text {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Note */
.info-note {
    margin-top: 20px;
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}