        :root{
            --bg:#f5f7fb;
            --card:#ffffff;
            --line:#e7edf5;
            --text:#0f172a;
            --muted:#64748b;
            --primary:#4f46e5;
            --primary-2:#06b6d4;
            --primary-soft:rgba(79,70,229,.10);
            --success:#16a34a;
            --danger:#dc2626;
            --shadow:0 18px 55px rgba(15, 23, 42, .08);
            --shadow-soft:0 10px 30px rgba(79, 70, 229, .12);
            --radius-xl:28px;
            --radius-lg:22px;
            --radius-md:16px;
        }

        .student-create-page,
        .student-create-page *{
            box-sizing:border-box;
            font-family:'Tajawal','Cairo',sans-serif;
        }

        .student-create-page{
            background:
                radial-gradient(circle at top right, rgba(79,70,229,.06), transparent 25%),
                radial-gradient(circle at top left, rgba(6,182,212,.06), transparent 25%),
                var(--bg);
            border-radius: 28px;
            padding: 20px;
        }

        .student-create-page .page-hero{
            position:relative;
            overflow:hidden;
            background:linear-gradient(135deg, rgba(79,70,229,.98), rgba(6,182,212,.92));
            border-radius:32px;
            padding:30px;
            box-shadow:var(--shadow);
            color:#fff;
            margin-bottom:24px;
        }

        .student-create-page .page-hero::before,
        .student-create-page .page-hero::after{
            content:"";
            position:absolute;
            border-radius:999px;
            background:rgba(255,255,255,.09);
        }

        .student-create-page .page-hero::before{
            width:220px;
            height:220px;
            top:-70px;
            left:-40px;
        }

        .student-create-page .page-hero::after{
            width:180px;
            height:180px;
            bottom:-55px;
            right:-20px;
        }

        .student-create-page .hero-content{
            position:relative;
            z-index:2;
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:20px;
            flex-wrap:wrap;
        }

        .student-create-page .hero-main{
            display:flex;
            align-items:center;
            gap:18px;
            flex-wrap:wrap;
        }

        .student-create-page .logo-wrap{
            width:82px;
            height:82px;
            border-radius:24px;
            background:rgba(255,255,255,.16);
            backdrop-filter:blur(10px);
            display:flex;
            align-items:center;
            justify-content:center;
            box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
        }

        .student-create-page .logo-wrap img{
            max-width:56px;
            max-height:56px;
            object-fit:contain;
        }

        .student-create-page .hero-title h1{
            margin:0 0 8px;
            font-size:32px;
            font-weight:800;
            color:#fff;
            letter-spacing:.2px;
        }

        .student-create-page .hero-title p{
            margin:0;
            color:rgba(255,255,255,.88);
            font-size:15px;
            font-weight:500;
            line-height:1.8;
        }

        .student-create-page .hero-badges{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
        }

        .student-create-page .hero-badge{
            display:inline-flex;
            align-items:center;
            gap:8px;
            background:rgba(255,255,255,.14);
            border:1px solid rgba(255,255,255,.16);
            padding:10px 15px;
            border-radius:999px;
            font-size:13px;
            font-weight:700;
            color:#fff;
        }

        .student-create-page .main-card{
            background:rgba(255,255,255,.88);
            backdrop-filter:blur(10px);
            border:1px solid rgba(255,255,255,.7);
            border-radius:30px;
            box-shadow:var(--shadow);
            overflow:hidden;
        }

        .student-create-page .alerts-wrap{
            padding:0 24px;
        }

        .student-create-page .form-alert{
            border-radius:18px;
            padding:14px 16px;
            margin:16px 0 0;
            font-size:14px;
            font-weight:700;
            border:1px solid transparent;
        }

        .student-create-page .form-alert-success{
            background:#ecfdf3;
            color:#166534;
            border-color:#bbf7d0;
        }

        .student-create-page .form-alert-error{
            background:#fff1f2;
            color:#9f1239;
            border-color:#fecdd3;
        }

        .student-create-page .form-alert-error ul{
            margin:10px 0 0;
            padding-right:18px;
            font-weight:600;
        }

        .student-create-page .tabs-shell{
            padding:24px 24px 10px;
        }

        .student-create-page .form-tabs{
            display:flex;
            gap:12px;
            flex-wrap:wrap;
            background:#eef4fb;
            padding:10px;
            border-radius:24px;
            border:1px solid #dde8f5;
        }

        .student-create-page .form-tab-btn{
            border:0;
            background:transparent;
            color:#475569;
            border-radius:18px;
            padding:14px 18px;
            font-size:14px;
            font-weight:800;
            cursor:pointer;
            transition:.25s ease;
            display:inline-flex;
            align-items:center;
            gap:10px;
            flex:1 1 220px;
            justify-content:center;
            min-height:54px;
        }

        .student-create-page .form-tab-btn i{
            font-size:16px;
        }

        .student-create-page .form-tab-btn:hover{
            background:#fff;
            color:#1e293b;
            box-shadow:0 8px 20px rgba(15,23,42,.06);
        }

        .student-create-page .form-tab-btn.active{
            color:#fff;
            background:linear-gradient(135deg, var(--primary), var(--primary-2));
            box-shadow:var(--shadow-soft);
        }

        .student-create-page .form-body{
            padding:12px 24px 110px;
        }

        .student-create-page .tab-pane{
            display:none;
            animation:fadeUp .28s ease;
        }

        .student-create-page .tab-pane.active{
            display:block;
        }

        @keyframes fadeUp{
            from{ opacity:0; transform:translateY(10px); }
            to{ opacity:1; transform:translateY(0); }
        }

        .student-create-page .form-section{
            background:#fff;
            border:1px solid #e6edf5;
            border-radius:26px;
            padding:24px;
            box-shadow:0 12px 30px rgba(15,23,42,.04);
        }

        .student-create-page .section-head{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:14px;
            flex-wrap:wrap;
            margin-bottom:24px;
            padding-bottom:16px;
            border-bottom:1px dashed #dbe5f0;
        }

        .student-create-page .section-title-wrap{
            display:flex;
            align-items:center;
            gap:14px;
        }

        .student-create-page .section-icon{
            width:50px;
            height:50px;
            border-radius:16px;
            background:linear-gradient(135deg, rgba(79,70,229,.14), rgba(6,182,212,.14));
            color:var(--primary);
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:20px;
        }

        .student-create-page .section-title{
            margin:0;
            font-size:22px;
            font-weight:800;
            color:#0f172a;
        }

        .student-create-page .section-subtitle{
            margin:5px 0 0;
            color:#64748b;
            font-size:13px;
            font-weight:500;
        }

        .student-create-page .section-chip{
            padding:10px 14px;
            border-radius:999px;
            background:#f8fbff;
            border:1px solid #e2ebf5;
            color:#334155;
            font-size:12px;
            font-weight:800;
        }

        .student-create-page .form-grid{
            display:grid;
            grid-template-columns:repeat(12, minmax(0, 1fr));
            gap:18px;
        }

        .student-create-page .field-block{
            grid-column:span 4;
            margin:0;
        }

        .student-create-page .field-block.span-6{
            grid-column:span 6;
        }

        .student-create-page .field-block.span-8{
            grid-column:span 8;
        }

        .student-create-page .field-block.span-12{
            grid-column:span 12;
        }

        .student-create-page .field-label{
            display:flex;
            align-items:center;
            gap:8px;
            margin-bottom:9px;
            font-size:14px;
            font-weight:700;
            color:#334155;
        }

        .student-create-page .field-label i{
            color:#64748b;
            font-size:14px;
        }

        .student-create-page .field-input,
        .student-create-page .field-select,
        .student-create-page .field-textarea{
            width:100%;
            min-height:54px;
            border:1px solid #d7e3f0;
            border-radius:16px;
            padding:14px 15px;
            font-family:inherit;
            font-size:14px;
            font-weight:600;
            background:#fbfdff;
            color:#0f172a;
            outline:none;
            transition:.22s ease;
        }

        .student-create-page .field-textarea{
            min-height:120px;
            resize:vertical;
        }

        .student-create-page .field-input::placeholder,
        .student-create-page .field-textarea::placeholder{
            color:#94a3b8;
            font-weight:500;
        }

        .student-create-page .field-input:hover,
        .student-create-page .field-select:hover,
        .student-create-page .field-textarea:hover{
            border-color:#bfd0e4;
            background:#fff;
        }

        .student-create-page .field-input:focus,
        .student-create-page .field-select:focus,
        .student-create-page .field-textarea:focus{
            border-color:#8b5cf6;
            background:#fff;
            box-shadow:0 0 0 5px rgba(139,92,246,.10);
        }

        .student-create-page .check-grid{
            display:grid;
            grid-template-columns:repeat(2, minmax(0, 1fr));
            gap:14px;
        }

        .student-create-page .check-tile{
            border:1px solid #e2e8f0;
            border-radius:18px;
            background:linear-gradient(180deg, #ffffff, #f8fbff);
            padding:16px;
            display:flex;
            align-items:center;
            gap:12px;
            min-height:72px;
            transition:.22s ease;
            box-shadow:0 8px 18px rgba(15,23,42,.03);
        }

        .student-create-page .check-tile:hover{
            border-color:#c7d7ea;
            transform:translateY(-2px);
        }

        .student-create-page .check-tile input[type="checkbox"]{
            width:19px;
            height:19px;
            accent-color:var(--primary);
            flex-shrink:0;
        }

        .student-create-page .check-tile label{
            margin:0;
            font-size:14px;
            font-weight:700;
            color:#334155;
            cursor:pointer;
        }

        .student-create-page .sticky-actions{
            position:sticky;
            bottom:0;
            z-index:20;
            background:rgba(255,255,255,.88);
            backdrop-filter:blur(12px);
            border-top:1px solid #e6edf5;
            padding:16px 24px;
        }

        .student-create-page .actions-inner{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:14px;
            flex-wrap:wrap;
        }

        .student-create-page .actions-note{
            color:#64748b;
            font-size:13px;
            font-weight:600;
        }

        .student-create-page .inline-form-actions{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
        }

        .student-create-page .action-btn{
            border:0;
            border-radius:16px;
            padding:13px 18px;
            min-width:150px;
            font-family:inherit;
            font-size:14px;
            font-weight:700;
            cursor:pointer;
            display:inline-flex;
            align-items:center;
            justify-content:center;
            gap:10px;
            transition:.22s ease;
            text-decoration:none;
        }

        .student-create-page .btn-primary{
            color:#fff;
            background:linear-gradient(135deg, var(--primary), var(--primary-2));
            box-shadow:0 14px 30px rgba(79,70,229,.22);
        }

        .student-create-page .btn-primary:hover{
            transform:translateY(-1px);
            box-shadow:0 16px 34px rgba(79,70,229,.28);
        }

        .student-create-page .btn-light{
            color:#334155;
            background:#fff;
            border:1px solid #d9e3ee;
        }

        .student-create-page .btn-light:hover{
            background:#f8fafc;
        }

        .student-create-page .helper-note{
            color:#64748b;
            font-size:13px;
            font-weight:600;
            margin-top:12px;
            text-align:center;
        }

        @media (max-width: 1200px){
            .student-create-page .field-block{
                grid-column:span 6;
            }

            .student-create-page .field-block.span-8,
            .student-create-page .field-block.span-12{
                grid-column:span 12;
            }
        }

        @media (max-width: 768px){
            .student-create-page{
                padding:12px;
                border-radius:20px;
            }

            .student-create-page .page-hero{
                padding:20px;
                border-radius:24px;
            }

            .student-create-page .hero-title h1{
                font-size:24px;
            }

            .student-create-page .main-card{
                border-radius:24px;
            }

            .student-create-page .tabs-shell,
            .student-create-page .form-body,
            .student-create-page .alerts-wrap,
            .student-create-page .sticky-actions{
                padding-left:14px;
                padding-right:14px;
            }

            .student-create-page .form-section{
                padding:18px;
                border-radius:20px;
            }

            .student-create-page .form-tab-btn{
                width:100%;
                justify-content:center;
            }

            .student-create-page .field-block,
            .student-create-page .field-block.span-6,
            .student-create-page .field-block.span-8,
            .student-create-page .field-block.span-12{
                grid-column:span 12;
            }

            .student-create-page .check-grid{
                grid-template-columns:1fr;
            }

            .student-create-page .actions-inner{
                flex-direction:column;
                align-items:stretch;
            }

            .student-create-page .inline-form-actions{
                width:100%;
            }

            .student-create-page .action-btn{
                flex:1 1 100%;
                width:100%;
            }
        }
        .student-create-page,
        .student-create-page * {
            font-family: 'Tajawal', 'Cairo', sans-serif;
        }

        .student-create-page .is-hidden {
            display: none !important;
        }

        .student-create-page .field-block.span-12 { grid-column: span 12; }
        .student-create-page .field-block.span-8 { grid-column: span 8; }
        .student-create-page .field-block.span-6 { grid-column: span 6; }
        .student-create-page .field-block.span-4 { grid-column: span 4; }

        .student-create-page .attachments-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .student-create-page .upload-card {
            position: relative;
            border: 1.5px dashed #c9d6e5;
            background: linear-gradient(180deg, #fbfdff, #f7faff);
            border-radius: 22px;
            min-height: 210px;
            padding: 20px;
            overflow: hidden;
            transition: .22s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .student-create-page .upload-card:hover {
            border-color: #9fb7d3;
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(15, 23, 42, .05);
        }

        .student-create-page .upload-card input[type="file"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
            z-index: 3;
        }

        .student-create-page .upload-content {
            pointer-events: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            color: #64748b;
        }

        .student-create-page .upload-content i {
            font-size: 30px;
            color: #64748b;
        }

        .student-create-page .upload-title {
            font-size: 18px;
            font-weight: 700;
            color: #475569;
        }

        .student-create-page .upload-subtitle {
            font-size: 14px;
            line-height: 1.8;
        }

        .student-create-page .upload-filename {
            font-size: 13px;
            font-weight: 700;
            color: #4f46e5;
            word-break: break-word;
        }

        .student-create-page .upload-card.has-file {
            border-style: solid;
            border-color: #b8c8dc;
            background: #fff;
        }

        .student-create-page .field-error {
            display: none;
            margin-top: 7px;
            font-size: 12px;
            color: #dc2626;
            font-weight: 700;
        }

        .student-create-page .field-input.is-invalid,
        .student-create-page .field-select.is-invalid,
        .student-create-page .field-textarea.is-invalid {
            border-color: #dc2626 !important;
            box-shadow: 0 0 0 4px rgba(220, 38, 38, .08) !important;
            background: #fff;
        }

        .student-create-page .field-error.show {
            display: block;
        }

        .student-create-page .visually-hidden-tab {
            display: none !important;
        }

        @media (max-width: 1200px) {
            .student-create-page .field-block.span-8,
            .student-create-page .field-block.span-12 {
                grid-column: span 12;
            }

            .student-create-page .attachments-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .student-create-page .field-block,
            .student-create-page .field-block.span-4,
            .student-create-page .field-block.span-6,
            .student-create-page .field-block.span-8,
            .student-create-page .field-block.span-12 {
                grid-column: span 12;
            }

            .student-create-page .attachments-grid {
                grid-template-columns: 1fr;
            }

            .student-create-page .upload-card {
                min-height: 180px;
            }
        }

        .student-create-page .course-showcase {
            border: 1px solid #e2e8f0;
            border-radius: 26px;
            background: linear-gradient(180deg, #ffffff, #f8fbff);
            padding: 24px;
            box-shadow: 0 18px 35px rgba(15, 23, 42, .04);
        }

        .student-create-page .course-showcase-grid {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 24px;
            align-items: start;
        }

        .student-create-page .course-media {
            border-radius: 22px;
            overflow: hidden;
            background: #f1f5f9;
            min-height: 240px;
            border: 1px solid #e2e8f0;
        }

        .student-create-page .course-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .student-create-page .course-media-placeholder {
            min-height: 240px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            font-size: 15px;
            font-weight: 700;
        }

        .student-create-page .course-meta-title {
            font-size: 30px;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .student-create-page .course-meta-desc {
            color: #64748b;
            line-height: 1.9;
            font-size: 15px;
            margin-bottom: 18px;
            white-space: pre-line;
        }

        .student-create-page .course-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 18px;
        }

        .student-create-page .course-badge {
            padding: 10px 14px;
            border-radius: 999px;
            background: #eef4ff;
            color: #334155;
            font-size: 14px;
            font-weight: 700;
            border: 1px solid #dbe7ff;
        }

        .student-create-page .pricing-cards {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .student-create-page .pricing-card {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 18px;
        }

        .student-create-page .pricing-label {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .student-create-page .pricing-value {
            font-size: 28px;
            font-weight: 800;
            color: #0f172a;
        }

        .student-create-page .installments-box {
            margin-top: 18px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 18px;
        }

        .student-create-page .installments-title {
            font-size: 15px;
            font-weight: 800;
            color: #334155;
            margin-bottom: 12px;
        }

        .student-create-page .installments-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .student-create-page .installment-chip {
            padding: 10px 14px;
            border-radius: 999px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            font-weight: 700;
            color: #0f172a;
        }

        @media (max-width: 992px) {
            .student-create-page .course-showcase-grid {
                grid-template-columns: 1fr;
            }

            .student-create-page .pricing-cards {
                grid-template-columns: 1fr;
            }
        }
