/* --- HIDE FOOTER (Only for pages using this sheet) --- */
footer { display: none !important; }
:root {
    /* PRIMARY COLOR: Hot Pink */
    --teal: #fc4d9f;

    /* HOVER COLOR: Darker Pink */
    --teal-hover: #d6257a;

    /* LIGHT BACKGROUND: Very Light Pink */
    --light-teal: #fff0f5;

    /* ACCENT/ERROR: Vibrant Red-Pink (Coral) */
    --coral: #ff3366;

    /* LINK COLOR: Deep Purple (Complementary) */
    --link-color: #6a1b9a;

    /* Neutrals */
    --dark-gray: #2d3748;
    --medium-gray: #718096;
    --light-gray: #f8f9fa;
    --white: #ffffff;

    /* Shadows with Pink Tint */
    --shadow: 0 10px 15px -3px rgba(252, 77, 159, 0.1), 0 4px 6px -2px rgba(252, 77, 159, 0.05);
}

/* --- EXACT ORIGINAL THEME --- */

body { background-color: var(--light-gray); font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--dark-gray); }
.card-compact { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: var(--shadow); }

/* Header */
.form-header { background: var(--white); border-bottom: 2px solid var(--light-teal); padding: 15px 25px; border-radius: 12px 12px 0 0; }
.form-header h4 { color: var(--teal); font-weight: 700; margin: 0; font-size: 1.2rem; }
.step-badge { background-color: var(--light-teal); color: var(--teal); padding: 4px 10px; border-radius: 20px; font-weight: 600; font-size: 0.75rem; border: 1px solid var(--teal); }

/* Labels & Inputs */
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--medium-gray); margin-top: 25px; margin-bottom: 10px; display: flex; align-items: center; }
.section-label::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; margin-left: 10px; }

.form-label { font-weight: 600; color: var(--dark-gray); font-size: 0.8rem; margin-bottom: 3px; }
.form-control-sm, .form-select-sm { border-radius: 6px; border: 1px solid #cbd5e0; padding: 7px 10px; font-size: 0.85rem; }
.form-control-sm:focus, .form-select-sm:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15); }
.text-danger { color: var(--coral) !important; }

/* Custom Boxes from your Steps */
.student-box { background-color: #f8fafc; border: 1px dashed var(--teal); border-radius: 8px; padding: 15px; }
.toggle-box { background-color: #f8fafc; border: 1px dashed var(--teal); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.logistics-box { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 15px; }

/* Buttons */
.btn-teal { background-color: var(--teal); color: white; border: none; padding: 8px 30px; font-weight: 600; border-radius: 6px; font-size: 0.9rem; }
.btn-teal:hover { background-color: #006666; color: white; }
.btn-back { background-color: #fff; border: 1px solid var(--medium-gray); color: var(--medium-gray); padding: 8px 20px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.btn-back:hover { background-color: #f1f1f1; color: var(--dark-gray); }

/* Utils */
.char-count { font-size: 0.75rem; color: var(--medium-gray); text-align: right; display: block; margin-top: 2px; }
.word-limit-error { color: var(--coral) !important; font-weight: bold; }

/* Step 3 Specifics */
.skill-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.rating-group { display: flex; gap: 5px; }
.rating-label { cursor: pointer; position: relative; width: 28px; height: 28px; }
.rating-input { position: absolute; opacity: 0; cursor: pointer; }
.rating-circle { width: 100%; height: 100%; border-radius: 50%; border: 1px solid #cbd5e0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--medium-gray); transition: all 0.2s; background: #fff; }
.rating-input:checked + .rating-circle { background-color: var(--teal); color: white; border-color: var(--teal); font-weight: bold; }

.category-card { border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s; }
.category-header { padding: 10px 12px; background-color: #fff; cursor: pointer; }
.category-header:hover { background-color: #f8ffff; }
.category-header.active { background-color: var(--light-teal); border-bottom: 1px solid #e2e8f0; }
.sub-options-container { background-color: #fcfcfc; padding: 10px 15px 10px 35px; border-top: 1px solid #f1f5f9; }
.parent-label { font-weight: 700; font-size: 0.85rem; color: var(--dark-gray); cursor: pointer; }
.child-label { font-size: 0.8rem; color: var(--medium-gray); cursor: pointer; }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
/* File Preview Styling */
.file-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 0.85rem;
}
.file-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}
.file-link:hover { text-decoration: underline; }
.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}
.btn-remove-file:hover { color: #bb2d3b; }
 /* --- 1. General Styling --- */
        .student-box {
            background: #f8fff9;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #d0f0d7;
        }

        /* Loader */
        .input-wrapper { position: relative; }
        .input-loader {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            display: none;
        }

        /* --- 2. Validation Errors Styling --- */
        .invalid-feedback {
            font-size: 0.85rem;
            color: #dc3545;
            margin-top: 4px;
            display: none;
        }
        /* Show error when parent has is-invalid class */
        .form-control.is-invalid ~ .invalid-feedback,
        .form-select.is-invalid ~ .invalid-feedback,
        .is-invalid ~ .invalid-feedback {
            display: block;
        }

        /* --- 3. ATTACHMENT PREVIEW BADGE --- */
        .file-badge {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #f8f9fa;
            border: 1px solid #ced4da;
            padding: 8px 12px;
            border-radius: 6px;
            margin-top: 8px;
            width: 100%;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 8px;
            overflow: hidden;
        }

        .file-link {
            color: #0d6efd;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .file-link:hover { text-decoration: underline; }

        .btn-remove-file {
            background: transparent;
            border: none;
            color: #dc3545; /* Red Color */
            font-size: 1.2rem;
            font-weight: bold;
            line-height: 1;
            cursor: pointer;
            padding: 0 0 0 10px;
            transition: transform 0.2s;
        }
        .btn-remove-file:hover {
            color: #a71d2a;
            transform: scale(1.2);
        }
