* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Vazirmatn", sans-serif;
}
:root {
    --primary-gradient: linear-gradient(135deg, #116967 0%, #0d524d 100%);
    --primary-color: #116967;
    --secondary-color: #0d524d;
    --bg-color: #F5F5F5;
    --text-dark: #4A4A4A;
    --text-muted: #333;
    --text-white: #FFFFFF;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow:0px 20px 10px -15px #1a8a7f4b;
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    --danger-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --sidebar-width: 280px;
    --sidebar-margin: 2.5vh 1.5vh;
    --content-margin: 2.5vh;
}
body {
    background-color: #efefefba;
}
/*login and register style*/
.auth {
    background: var(--bg-color);
    background: linear-gradient(180deg, #e8f3f2 0%, #d4e8e6 50%, var(--bg-color) 100%);

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mobile-frame {
    width: 100%;
    max-width: 450px;
    background: linear-gradient(#ffffff, #eeeded) padding-box,
    linear-gradient(145deg, transparent 35%,#0d524d,#116967) border-box;;
    border-radius: 10px;
    padding: 40px 25px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 2px solid transparent;
    border-bottom-right-radius: 4em;
    border-top-left-radius: 4em;
}

.illustration-container {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e8f5f4 0%, #d4ebe9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 20px;
}

.illustration svg {
    width: 100%;
    height: 100%;
}

.lock-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 18px;
    box-shadow: var(--shadow-glow);
}

.heading {
    text-align: center;
    margin-bottom: 8px;
}

.heading h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.heading p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.7;
}

.form-group {
    margin-bottom: 15px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.row .col-6 {
    padding-left: 5px;
    padding-right: 5px;
}

.row:not(:last-child) {
    margin-bottom: 0;
}

.input-wrapper {
    position: relative;
}

.auth-form-control {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--text-white);
    box-shadow: var(--shadow-soft)
}

.auth-form-control::placeholder {
    color: #a0aec0;
    font-size: 13px;
}

.auth-form-control {
    outline: none;
    border-color: transparent;
    box-shadow: 0 4px 10px #1a8a7f4b;
}
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
}

.btn-signup {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: var(--shadow-glow) ;

}

.btn-signup:hover {
    background: linear-gradient(135deg, #0d524d 0%, #116967 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px #1a8a7f66;
}

.btn-signup:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider span {
    background: var(--text-white);
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 13px;
    position: relative;
    z-index: 1;
    opacity: 0.7;
}

.divider::before {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}

.signin-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.signin-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.signin-link a:hover {
    text-decoration: underline;
}

/******** page*********/
      /* ============================================
           Accessibility
         ============================================ */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }

        @media (prefers-contrast: high) {
            .rule-item {
                border: 2px solid var(--text-dark);
            }

            .rule-number {
                border: 2px solid var(--text-white);
            }

            .divider-line-inner {
                background: var(--text-dark);
            }
        }


        /* Selection color */
        ::selection {
            background: rgba(17, 105, 103, 0.3);
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }

        /* ============================================
           Utility Classes
           ============================================ */
        .text-center {
            text-align: center;
        }

        .mb-0 {
            margin-bottom: 0;
        }

        .mb-3 {
            margin-bottom: 1rem;
        }

        .me-2 {
            margin-left: 0.5rem;
        }

        .flex-shrink-0 {
            flex-shrink: 0;
        }

        .d-none {
            display: none;
        }

        .d-lg-block {
            display: block;
        }

        @media (min-width: 992px) {
            .d-lg-block {
                display: block;
            }
             .detail-grid {
                text-align: center;
            }
        }

        body {
            overflow-x: hidden;
        }

        /* Header / Navbar */
        /* .main-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 20px 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
            text-decoration: none;
            font-size: 24px;
            font-weight: 700;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .navbar-nav {
            gap: 30px;
        }

        .nav-link {
            color: white !important;
            font-size: 14px;
            font-weight: 400;
            padding: 5px 0 !important;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
        }

        .nav-link.dropdown-toggle::after {
            margin-left: 5px;
        }

        .search-icon {
            color: white;
            cursor: pointer;
            font-size: 18px;
        } */

        /* Hero Section */
        .hero-section {
            position: relative;
            height: 70vh;
            min-height: 500px;
            overflow: hidden;
            background: var(--primary-gradient);
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            opacity: 0.3;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(2px);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            height: 70vh;
            min-height: 500px;
            display: flex;
            align-items: center;
        }

        /* Green Border Frame */
        .green-frame {
            border: 4px solid var(--bg-color);
            border-left: none;
            border-bottom: none;
            padding: 30px;
            padding-bottom: 0;
            position: relative;
            display: inline-block;
            margin-bottom: 30px;
        }

        .green-frame::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: -4px;
            width: 40px;
            height: 40px;
            border-left: 4px solid var(--bg-color);
            border-bottom: 4px solid var(--bg-color);
        }

        .badge-text {
            color: var(--text-white);
            font-size: 13px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
            display: block;
        }

        .hero-title {
            color: var(--text-white);
            font-size: 72px;
            font-weight: 900;
            line-height: 1.1;
            margin: 0;
        }

        .hero-description {
            color: rgba(255,255,255,0.85);
            font-size: 16px;
            line-height: 1.6;
            margin-top: 30px;
            max-width: 500px;
        }

        /* Buttons */
        .hero-buttons {
            display: flex;
            gap: 20px;
            margin-top: 40px;
            align-items: center;
        }

        .btn-primary-custom {
            background: var(--primary-color);
            color: #000;
            border: none;
            padding: 15px 35px;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-radius: 0;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary-custom:hover {
            background: var(--secondary-color);
            color: #000;
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }

        .play-button {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            border: 2px solid rgba(255,255,255,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .play-button:hover {
            background: rgba(255,255,255,0.3);
            border-color: white;
            transform: scale(1.1);
        }

        .play-button i {
            margin-right: 3px;
        }

        .showreel-text {
            color: white;
            font-size: 14px;
            font-weight: 500;
            margin-right: 15px;
        }

        /* Green Dots / Points */
        .green-dot {
            width: 50px;
            height: 50px;
            background: var(--bg-color);
            border-radius: 50%;
            position: absolute;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-glow);
        }

        .green-dot:hover {
            transform: scale(1.2);
            box-shadow: 0 6px 25px rgba(26, 138, 127, 0.6);
        }

        .green-dot i {
            color: #000;
            font-size: 20px;
        }

        /* Position green dots */
        .dot-1 {
            top: 15%;
            left: 8%;
        }

        .dot-2 {
            top: 30%;
            left: 25%;
        }

        .dot-3 {
            top: 50%;
            left: 18%;
        }

        .dot-4 {
            bottom: 25%;
            left: 12%;
        }

        /* ============================================
           Main Wrapper & Background
           ============================================ */
        .main-wrapper {
            min-height: 100vh;
            padding: 2rem 1rem;
            position: relative;
            overflow: hidden;
        }

        /* Decorative Background */
        .bg-decoration {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .dec-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.08;
        }

        .dec-circle-1 {
            width: 600px;
            height: 600px;
            background: var(--primary-color);
            top: -200px;
            right: -200px;
        }

        .dec-circle-2 {
            width: 400px;
            height: 400px;
            background: var(--secondary-color);
            bottom: -100px;
            left: -100px;
        }

        .dec-circle-3 {
            width: 300px;
            height: 300px;
            background: var(--primary-color);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* ============================================
           Main Content Card
           ============================================ */
        .main-content {
            position: relative;
            z-index: 1;
            background: var(--text-white);
            border-radius: 24px;
            box-shadow: var(--shadow-soft);
            max-width: 1100px;
            margin: 0 auto;
            padding: 2.5rem;
            overflow: hidden;
        }

        .main-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;

        }

        /* ============================================
           Header Section
           ============================================ */
        .header-section {
            margin-bottom: 2.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid #e5e5e5;
        }

        .header-icon {
            width: 80px;
            height: 80px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 2.5rem;
            color: var(--text-white);
            box-shadow: var(--shadow-glow);
        }

        .main-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
            letter-spacing: 0.5px;
        }

        .main-subtitle {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
        /* ============================================
           Rules Container
           ============================================ */
        .rules-container {
            margin-bottom: 2.5rem;
        }

        /* Right & Left Columns */
        .right-column {
            padding-left: 1rem;
            padding-right: 1.5rem;
        }

        .left-column {
            padding-right: 1rem;
            padding-left: 1.5rem;
        }

        .rules-list {
            position: relative;
        }

        /* ============================================
           Rule Items
           ============================================ */
        .rule-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.25rem;
            padding: 1rem;
            border-radius: 10px;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        .rule-item:hover {
            background: rgba(17, 105, 103, 0.08);
            transform: translateX(5px);
        }

        .rule-number {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            background: var(--primary-gradient);
            color: var(--text-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.95rem;
            box-shadow: var(--shadow-glow);
        }

        .rule-content {
            flex: 1;
        }

        .rule-text {
            font-size: 0.95rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            line-height: 1.8;
        }

        .rule-note {
            font-size: 0.85rem;
            color: var(--text-muted);
            padding-right: 1rem;
            border-right: 2px solid var(--primary-color);
            margin-top: 0.5rem;
            line-height: 1.6;
        }

        .rule-note::before {
            content: '• ';
            color: var(--primary-color);
        }

        /* ============================================
           Responsive Design
           ============================================ */

        /* Large screens */
        @media (min-width: 1200px) {
            .main-content {
                padding: 3rem;
            }

            .main-title {
                font-size: 2.25rem;
            }
        }

        /* Medium screens */
        @media (max-width: 1199.98px) {
            .main-content {
                max-width: 900px;
            }
        }

        /* Tablet landscape */
        @media (max-width: 991.98px) {
            .main-wrapper {
                padding: 1.5rem 1rem;
            }

            .main-content {
                padding: 2rem;
            }

            .right-column,
            .left-column {
                padding-right: 0.75rem;
                padding-left: 0.75rem;
            }

            .divider-line {
                display: none;
            }

            .rule-item:hover {
                transform: none;
            }

            .hero-section,
            .hero-content {
                height: 50vh;
                min-height: 400px;
            }

            .hero-title {
                font-size: 48px;
            }

            .green-dot {
                display: none;
            }
        }

        /* Tablet portrait */
        @media (max-width: 767.98px) {
            .main-content {
                padding: 1.5rem;
                border-radius: 16px;
            }

            .main-title {
                font-size: 1.75rem;
            }

            .main-subtitle {
                font-size: 1rem;
            }

            .header-icon {
                width: 70px;
                height: 70px;
                font-size: 2rem;
            }

            .rule-item {
                padding: 0.875rem;
            }

            .rule-number {
                width: 32px;
                height: 32px;
                font-size: 0.85rem;
            }

            .rule-text {
                font-size: 0.9rem;
            }

            .rule-note {
                font-size: 0.8rem;
            }

            .hero-section,
            .hero-content {
                height: 40vh;
                min-height: 350px;
            }

            .hero-title {
                font-size: 36px;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: flex-start;
            }

            .green-frame {
                padding: 20px;
            }
        }

        /* Mobile landscape */
        @media (max-width: 575.98px) {
            .main-wrapper {
                padding: 1rem 0.75rem;
            }

            .main-content {
                padding: 1.25rem;
            }

            .header-section {
                margin-bottom: 1.5rem;
                padding-bottom: 1rem;
            }

            .main-title {
                font-size: 1.5rem;
            }

            .main-subtitle {
                font-size: 0.9rem;
            }

            .header-icon {
                width: 60px;
                height: 60px;
                font-size: 1.75rem;
            }

            .rule-item {
                padding: 0.75rem;
                margin-bottom: 0.75rem;
            }

            .rule-number {
                width: 28px;
                height: 28px;
                font-size: 0.8rem;
            }

            .rule-text {
                font-size: 0.85rem;
            }

            .rule-note {
                font-size: 0.75rem;
                padding-right: 0.75rem;
            }

            .signature-section {
                padding: 1rem;
            }

            .signature-header {
                font-size: 1.1rem;
            }

            .signature-text {
                font-size: 0.85rem;
            }

            .field-label {
                font-size: 0.8rem;
            }

            .field-input {
                font-size: 0.85rem;
            }

            .hero-section,
            .hero-content {
                height: 35vh;
                min-height: 300px;
            }

            .hero-title {
                font-size: 28px;
            }

            .hero-description {
                font-size: 14px;
                margin-top: 20px;
            }

            .hero-buttons {
                margin-top: 25px;
                gap: 15px;
            }

            .btn-primary-custom {
                padding: 12px 25px;
                font-size: 12px;
            }

            .play-button {
                width: 50px;
                height: 50px;
                font-size: 18px;
            }
        }

        /* Mobile portrait */
        @media (max-width: 479.98px) {
            .main-title {
                font-size: 1.35rem;
            }

            .main-subtitle {
                font-size: 0.85rem;
            }

            .rule-item {
                flex-direction: column;
                gap: 0.5rem;
            }

            .rule-number {
                width: 32px;
                height: 32px;
            }

            .signature-box {
                padding: 1.5rem 1rem;
            }

            .footer-text {
                font-size: 0.85rem;
            }

            .footer-date {
                font-size: 0.75rem;
            }

            .hero-title {
                font-size: 24px;
            }
        }

        /* Extra small devices */
        @media (max-width: 359.98px) {
            .main-content {
                padding: 1rem;
            }

            .main-title {
                font-size: 1.2rem;
            }

            .header-icon {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }

            .rule-text {
                font-size: 0.8rem;
            }

            .hero-title {
                font-size: 20px;
            }
        }

        /* ============================================
           Print Styles
           ============================================ */
        @media print {
            .main-wrapper {
                background: white;
                padding: 0;
            }

            .bg-decoration,
            .dec-circle {
                display: none;
            }

            .hero-section {
                display: none;
            }

            .main-content {
                box-shadow: none;
                border: 1px solid #ddd;
                max-width: 100%;
            }

            .main-content::before {
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .rule-item {
                break-inside: avoid;
                background: #f9fafb !important;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .rule-number {
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }


        }


     /* Animated Background */
      .rules_stu {
            background-color: var(--bg-color);
            min-height: 100vh;
            overflow-x: hidden;
            color: var(--text-dark);
        }

        .bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }

        .bg-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.06;
            animation: float 20s infinite ease-in-out;
        }

        .bg-shape:nth-child(1) {
            width: 400px;
            height: 400px;
            background: var(--primary-color);
            top: -150px;
            right: -100px;
            animation-delay: 0s;
        }

        .bg-shape:nth-child(2) {
            width: 300px;
            height: 300px;
            background: var(--secondary-color);
            bottom: -100px;
            left: -50px;
            animation-delay: -5s;
        }

        .bg-shape:nth-child(3) {
            width: 200px;
            height: 200px;
            background: var(--primary-color);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: -10s;
        }

        .bg-shape:nth-child(4) {
            width: 150px;
            height: 150px;
            background: var(--secondary-color);
            top: 20%;
            left: 10%;
            animation-delay: -15s;
        }

        /* Main Container */
        .main-container {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        /* Hero Section */
        .my-section {
            text-align: center;
            margin-bottom: 60px;
        }


        .my-title {
            font-size: 3rem;
            font-weight: 900;
            background: var(--text-muted);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            letter-spacing: 2px;
        }

        .my-subtitle {
            font-size: 1.3rem;
            color: var(--text-muted);
            font-weight: 400;
        }

        /* Cards Grid - Asymmetrical Layout */
        .rules-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            max-width: 1000px;
            width: 100%;
            margin-bottom: 50px;
        }

        .rule-card01 {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 40px 35px;
            box-shadow: var(--shadow-soft);
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(50px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .rule-card01:nth-child(1) {
            animation: slideUp 0.8s ease forwards 0.3s;
            transform: translateX(-30px);
        }

        .rule-card01:nth-child(2) {
            animation: slideUp 0.8s ease forwards 0.6s;
            transform: translateX(30px);
            margin-top: 80px;
        }

        @keyframes slideUp {
            to {
                opacity: 1;
                transform: translate(0, 0);
            }
        }

        .rule-card01:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: var(--shadow-glow);
        }

        .rule-card01:hover::before {
            transform: scaleX(1);
        }

        .card-accent-shape {
            position: absolute;
            top: -50px;
            right: -50px;
            width: 150px;
            height: 150px;
            background: var(--primary-gradient);
            opacity: 0.08;
            border-radius: 50%;
            transition: all 0.5s ease;
        }

        .rule-card01:hover .card-accent-shape {
            transform: scale(1.5);
            opacity: 0.15;
        }

        .rule-number01 {
            position: absolute;
            top: 25px;
            left: 25px;
            font-size: 4rem;
            font-weight: 900;
            color: var(--primary-color);
            opacity: 0.1;
            font-family: 'Tajawal', sans-serif;
            transition: all 0.5s ease;
        }

        .rule-card01:hover .rule-number {
            opacity: 0.2;
            transform: scale(1.2);
        }

        .card-icon {
            width: 70px;
            height: 70px;
            background: var(--primary-gradient);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: var(--text-white);
            margin-bottom: 25px;
            position: relative;
            z-index: 1;
        }

        .card-icon::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            border: 2px solid var(--primary-color);
            opacity: 0.3;
            transform: scale(1.3);
            transition: all 0.5s ease;
        }

        .rule-card01:hover .card-icon::after {
            transform: scale(1.6);
            opacity: 0;
        }

        .rule-content01 {
            position: relative;
            z-index: 1;
        }

        .rule-title01 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--secondary-color);
            margin-bottom: 18px;
            line-height: 1.6;
        }

        .rule-text01 {
            font-size: 1.1rem;
            color: var(--text-dark);
            line-height: 2.2;
            font-weight: 400;
        }

        /* Warning Section */
        .warning-section {
            width: 100%;
            max-width: 900px;
            background: var(--primary-gradient);
            border-radius: 30px;
            padding: 50px 40px;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: scaleIn 0.8s ease forwards 0.9s;
            box-shadow: var(--shadow-glow);
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .warning-section::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
        }

        .warning-section::after {
            content: '';
            position: absolute;
            bottom: -150px;
            left: -150px;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.03);
            border-radius: 50%;
        }

        .warning-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            position: relative;
            z-index: 1;
        }

        .warning-icon {
            width: 70px;
            height: 70px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 35px;
            color: red;
         }
        .warning-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: 1px;
        }

        .warning-text {
            font-size: 1.25rem;
            color: rgba(255,255,255,0.95);
            line-height: 2.2;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }

        /* Decorative Elements */
        .corner-accent {
            position: absolute;
            width: 100px;
            height: 100px;
            border: 3px solid rgba(255,255,255,0.2);
            pointer-events: none;
        }

        .corner-accent.top-left {
            top: 15px;
            left: 15px;
            border-right: none;
            border-bottom: none;
            border-top-left-radius: 20px;
        }

        .corner-accent.bottom-right {
            bottom: 15px;
            right: 15px;
            border-left: none;
            border-top: none;
            border-bottom-right-radius: 20px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .my-title {
                font-size: 2rem;
            }


            .rules-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .rule-card01 {
                padding: 30px 25px;
            }

            .rule-card01:nth-child(2) {
                margin-top: 0;
            }

            .rule-card01:nth-child(1),
            .rule-card01:nth-child(2) {
                transform: translateX(0);
            }

            .rule-number01 {
                font-size: 3rem;
            }

            .rule-title01 {
                font-size: 1.2rem;
            }

            .rule-text01 {
                font-size: 1rem;
            }

            .warning-section {
                padding: 35px 25px;
            }

            .warning-title {
                font-size: 1.4rem;
            }

            .warning-text {
                font-size: 1.05rem;
            }

        }

        @media (max-width: 480px) {
            .main-container {
                padding: 25px 15px;
            }

            .my-title {
                font-size: 1.7rem;
            }

            .rule-card01 {
                padding: 25px 20px;
                border-radius: 20px;
            }

            .card-icon {
                width: 55px;
                height: 55px;
                font-size: 24px;
                border-radius: 15px;
            }

            .warning-section {
                border-radius: 22px;
                padding: 28px 20px;
            }

            .warning-icon {
                width: 55px;
                height: 55px;
                font-size: 28px;
            }

            .warning-title {
                font-size: 1.2rem;
            }

            .warning-text {
                font-size: 0.95rem;
            }
        }

        /* Print Styles */
        @media print {
            .bg-canvas {
                display: none;
            }

            .main-container {
                padding: 20px;
            }

            .rule-card01 {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ddd;
            }

            .warning-section {
                background: var(--primary-color) !important;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
        }

        @media (prefers-contrast: high) {
            .rule-card01 {
                border: 2px solid var(--text-dark);
            }

            .warning-section {
                border: 3px solid var(--text-white);
            }
        }

        /*Instructions style page*/
        .Instructions {
            min-height: 85vh;
            padding: 50px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .page-header0 {
            text-align: center;
            margin-bottom: 50px;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            margin-bottom: 10px;
            color: var(--text-muted)
        }

        .page-subtitle {
            font-size: 1.1rem;
            color: var(--text-muted);
        }

        .cards-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            max-width: 1200px;
            width: 100%;
            justify-items: center;
        }

        .card {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 320px;
            padding: 3px;
            border-radius: 24px;
            overflow: hidden;
            line-height: 1.6;
            transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
            padding: 30px;
            border-radius: 22px;
            color: #ffffff;
            overflow: hidden;
            background: #ffffff;
            transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
            width: 100%;
            height: 100%;
        }

        .content .heading {
            font-weight: 700;
            font-size: 24px;
            line-height: 1.4;
            z-index: 1;
            transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
            color: var(--primary-color);
            width: 100%;
            text-align: center;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(17, 105, 103, 0.2);
        }

        .content .para {
            z-index: 1;
            opacity: 1;
            font-size: 16px;
            transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
            color: var(--text-dark);
            line-height: 2;
            width: 100%;
        }

        .card::before {
            content: "";
            position: absolute;
            height: 160%;
            width: 160%;
            border-radius: inherit;
            background: var(--primary-gradient);
            transform-origin: center;
            animation: moving 4.8s linear infinite paused;
            transition: all 0.88s cubic-bezier(0.23, 1, 0.32, 1);
            opacity: 0;
        }

        .card:hover::before {
            animation-play-state: running;
            z-index: -1;
            width: 20%;
            opacity: 1;
        }

        .card:hover .content .heading {
            color: var(--secondary-color);
        }

        .card:hover .content .para {
            color: var(--text-dark);
        }

        .card:hover {
            box-shadow: 0rem 6px 13px rgba(17, 105, 103, 0.15),
                0rem 24px 24px rgba(17, 105, 103, 0.1),
                0rem 55px 33px rgba(17, 105, 103, 0.05),
                0rem 97px 39px rgba(17, 105, 103, 0.01),
                0rem 152px 43px rgba(17, 105, 103, 0);
            transform: scale(1.05);
        }

        @keyframes moving {
            0% {
                transform: rotate(0);
            }
            100% {
                transform: rotate(360deg);
            }
        }



        .card-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .card-list li {
            position: relative;
            padding-right: 20px;
            margin-bottom: 10px;
            color: var(--text-dark);
            font-size: 15px;
            line-height: 1.8;
        }

        .card-list li::before {
            content: "•";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            right: 0;
            font-size: 18px;
        }

        .highlight-amount {
            display: block;
            background: var(--primary-gradient);
            color: white;
            padding: 10px 15px;
            border-radius: 10px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 15px;
            font-size: 18px;
        }

        .installments {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        .installment {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 15px;

            border-radius: 10px;
            border-right: 3px solid var(--primary-color);
        }

        .installment-number {
            background: var(--primary-gradient);
            color: white;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .installment-text {
            font-size: 14px;
            color: var(--text-dark);
            line-height: 1.5;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .cards-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .cards-container {
                grid-template-columns: 1fr;
            }

            .card {
                width: 100%;
                max-width: 350px;
            }

            .page-title {
                font-size: 2rem;
            }

            .content .heading {
                font-size: 22px;
            }
        }

        @media (max-width: 480px) {
            .Instructions {
                padding: 30px 15px;
            }

            .card {
                max-width: 100%;
            }

            .content {
                padding: 25px;
            }

            .content .heading {
                font-size: 20px;
            }
        }
         /* Agreement Section */
        .agreement-section {
            margin-top: 50px;
            max-width: 600px;
            width: 100%;
            text-align: center;
        }

        .agreement-checkbox-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
            cursor: pointer;
        }

        .agreement-checkbox {
            width: 24px;
            height: 24px;
            cursor: pointer;
            accent-color: var(--primary-color);
            flex-shrink: 0;
        }

        .agreement-text {
            font-size: 1.1rem;
            color: var(--text-dark);
            font-weight: 500;
            cursor: pointer;
            line-height: 1.6;
        }

        .submit-btn {
            display: inline-block;
            padding: 16px 40px;
            background: var(--primary-gradient);
            color: white;
            font-size: 1.1rem;
            font-weight: 700;
            border-radius: 12px;
            text-decoration: none;
            opacity: 0.5;
            pointer-events: none;
            transition: all 0.4s ease;
            box-shadow: var(--shadow-soft);
        }

        .submit-btn.active {
            opacity: 1;
            pointer-events: auto;
            cursor: pointer;
        }

        .submit-btn.active:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
        }

         .footer {
            text-align: center;
            padding: 30px 20px;
            background: var(--primary-gradient);
            border-radius: 20px;
            width: 100%;
        }

        .footer-text {
            font-size: 1.1rem;
            color: var(--text-white);
            font-weight: 600;
            margin-bottom: 8px;
        }

        .footer-sub {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 5px;
        }

        .footer-sub:last-child {
            margin-bottom: 0;
        }


        .copyright {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 15px;
        }
/********index style******/
         .detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: var(--space-sm);
        }

        .detail-row {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .detail-label {
            font-weight: 600;
            color: var(--primary-color);
            font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        }

        .detail-value {
            color: var(--text-dark);
            font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        }
        .student-alerts-section {
    margin-bottom: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.section-title i {
    color: var(--primary);
}

.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.alert-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.alert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.alert-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.alert-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.penalties-card .alert-icon-wrapper {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.forms-card .alert-icon-wrapper {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.activity-card .alert-icon-wrapper {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.alert-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}

.alert-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.alert-card-body {
    padding: 1.5rem;
}

.alert-stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.alert-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.alert-number.danger {
    color: var(--danger);
}

.alert-number.warning {
    color: var(--warning);
}

.alert-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.alert-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

[data-theme="dark"] .detail-item {
    background: rgba(255, 255, 255, 0.05);
}

.detail-item i.bi-circle-fill {
    font-size: 0.5rem;
}

.detail-item i.bi-circle-fill.danger {
    color: var(--danger);
}

.detail-item i.bi-circle-fill.warning {
    color: var(--warning);
}

.detail-item.incomplete {
    justify-content: space-between;
}

.form-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.alert-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    display: flex;
    justify-content: center;
}


/*******forms style**********/
        .forms_design {
            min-height: 100vh;
            overflow-x: hidden;
            background-color: #efefefba;
        }
        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .bg-animation::before,
        .bg-animation::after {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            opacity: 0.3;
        }

        .bg-animation::before {
            background: var(--primary-gradient);
            top: -200px;
            right: -200px;
            animation-delay: 0s;
        }

        .bg-animation::after {
            background: linear-gradient(135deg, #1a9e8f 0%, #116967 100%);
            bottom: -200px;
            left: -200px;
            animation-delay: -10s;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            25% {
                transform: translate(50px, 50px) rotate(90deg);
            }
            50% {
                transform: translate(0, 100px) rotate(180deg);
            }
            75% {
                transform: translate(-50px, 50px) rotate(270deg);
            }
        }

        /* Floating particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: var(--primary-color);
            border-radius: 50%;
            opacity: 0.1;
            animation: rise 15s infinite ease-in;
        }

        .particle:nth-child(1) { left: 10%; animation-delay: 0s; width: 8px; height: 8px; }
        .particle:nth-child(2) { left: 20%; animation-delay: 2s; width: 12px; height: 12px; }
        .particle:nth-child(3) { left: 30%; animation-delay: 4s; width: 6px; height: 6px; }
        .particle:nth-child(4) { left: 40%; animation-delay: 6s; width: 10px; height: 10px; }
        .particle:nth-child(5) { left: 50%; animation-delay: 8s; width: 14px; height: 14px; }
        .particle:nth-child(6) { left: 60%; animation-delay: 10s; width: 8px; height: 8px; }
        .particle:nth-child(7) { left: 70%; animation-delay: 12s; width: 10px; height: 10px; }
        .particle:nth-child(8) { left: 80%; animation-delay: 14s; width: 6px; height: 6px; }

        @keyframes rise {
            0% {
                transform: translateY(100vh) scale(0);
                opacity: 0;
            }
            50% {
                opacity: 0.5;
            }
            100% {
                transform: translateY(-100vh) scale(1);
                opacity: 0;
            }
        }

        /* Main Container */
        .main-container01 {
            max-width: 900px;
            margin: 40px auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;

        }

        /* Form Header */
        .form-header {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 2.5rem 3rem;
            text-align: center;
            margin-bottom: 2rem;
            box-shadow: var(--glass-shadow);
        }

        .form-header-icon {
            width: 80px;
            height: 80px;
            background: var(--primary-gradient);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: var(--shadow-glow);
            animation: pulse-glow 3s infinite ease-in-out;
        }

        @keyframes pulse-glow {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(17, 105, 103, 0.3);
            }
            50% {
                box-shadow: 0 8px 35px rgba(17, 105, 103, 0.5);
            }
        }

        .form-header-icon i {
            font-size: 2.5rem;
            color: white;
        }

        .form-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .form-subtitle {
            font-size: 1rem;
            color: var(--text-muted);
        }

        /* Progress Wizard */
        .progress-container {
             background: rgba(255,255,255,0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--glass-shadow);
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            max-width: 500px;
            margin: 0 auto;
        }

        .progress-steps::before {
            content: '';
            position: absolute;
            top: 25px;
            left: 50px;
            right: 50px;
            height: 3px;
            background: rgba(17, 105, 103, 0.2);
            z-index: 0;
        }

        .progress-line {
            position: absolute;
            top: 25px;
            left: 50px;
            right: 50px;
            height: 3px;
            background: var(--primary-gradient);
            z-index: 1;
            transition: width 0.5s ease;
            width: 0%;
        }

        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
        }

        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            border: 3px solid rgba(17, 105, 103, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.75rem;
            transition: all 0.4s ease;
            font-size: 1.25rem;
            color: var(--text-muted);
        }

        .progress-step.active .step-circle {
            background: var(--primary-gradient);
            border-color: var(--primary-color);
            color: white;
            box-shadow: var(--shadow-glow);
        }

        .progress-step.completed .step-circle {
            background: var(--primary-gradient);
            border-color: var(--primary-color);
            color: white;
        }


        .step-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 600;
            text-align: center;
        }

        .progress-step.active .step-label,
        .progress-step.completed .step-label {
            color: var(--primary-color);
        }

        /* Form Card */
        .form-card {
             background: rgba(255,255,255,0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: var(--glass-shadow);
            overflow: hidden;
        }

        /* Form Sections */
        .form-section {
            display: none;
            animation: fadeSlideIn 0.5s ease forwards;
        }

        .form-section.active {
            display: block;
        }

        @keyframes fadeSlideIn {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeSlideOut {
            from {
                opacity: 1;
                transform: translateX(0);
            }
            to {
                opacity: 0;
                transform: translateX(-50px);
            }
        }

        .section-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(17, 105, 103, 0.15);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .section-title i {
            font-size: 1.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .form-row:last-child {
            margin-bottom: 0;
        }

        .form-group {
            position: relative;
        }

        .form-group.full-width {
            grid-column: span 2;
        }

        .form-label {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
            position: relative;
            padding-right: 25px;
        }

        .form-label::before {
            content: '*';
            color: var(--primary-color);
            position: absolute;
            right: 0;
            top: 0;
        }

        .form-label.optional::before {
            content: '';
        }

        .form-label .hint {
            font-weight: 400;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .form-control {
            width: 100%;
            padding: 14px 18px;
            font-size: 1rem;
            color: var(--text-dark);
            background: rgba(255, 255, 255, 0.8);
            border: 2px solid rgba(17, 105, 103, 0.1);
            border-radius: 12px;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-control:focus {
            background: white;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(17, 105, 103, 0.1);
        }

        .form-control::placeholder {
            color: #adb5bd;
        }

        .form-control.error {
            border-color: var(--danger-color);
            animation: shake 0.5s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        select.form-control {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23116967' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 15px center;
            padding-left: 45px;
        }

        .select-wrapper {
            position: relative;
        }

        .select-wrapper::before {
            content: '';
            position: absolute;
            left: 3px;
            top: 3px;
            bottom: 3px;
            width: 40px;
            background: var(--primary-gradient);
            border-radius: 10px 0 0 10px;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .select-wrapper:focus-within::before {
            opacity: 1;
        }

        .select-wrapper select.form-control {
            position: relative;
            z-index: 2;
            padding-left: 50px;
            background-color: transparent;
        }

        .select-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 3;
            color: white;
            font-size: 1.1rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .select-wrapper:focus-within .select-icon {
            opacity: 1;
        }

        textarea.form-control {
            min-height: 100px;
            resize: vertical;
            line-height: 1.8;
        }

        .location-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        /* Form Actions */
        .form-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 2px solid rgba(17, 105, 103, 0.1);
        }

        .btn {
            padding: 14px 35px;
            font-size: 1rem;
            font-weight: 700;
            font-family: 'Tajawal', sans-serif;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .btn-primary {
            background: var(--primary-gradient);
            color: white;
            box-shadow: var(--shadow-soft);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.8);
            color: var(--text-dark);
            border: 2px solid rgba(17, 105, 103, 0.2);
        }

        .btn-secondary:hover {
            background: rgba(17, 105, 103, 0.1);
            border-color: var(--primary-color);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Step Indicator */
        .step-indicator {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1rem 1.5rem;
            background: rgba(17, 105, 103, 0.05);
            border-radius: 12px;
        }

        .step-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--primary-gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .step-text h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.25rem;
        }

        .step-text p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 0;
        }

        .step-progress {
            display: flex;
            gap: 0.5rem;
        }

        .progress-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(17, 105, 103, 0.2);
            transition: all 0.3s ease;
        }

        .progress-dot.active {
            background: var(--primary-gradient);
            transform: scale(1.3);
        }

        .progress-dot.completed {
            background: var(--primary-color);
        }

        /* Footer */
        .form-footer {
            text-align: center;
            padding: 1.5rem;
            margin-top: 2rem;
            color: var(--text-muted);
            font-size: 0.9rem;
            border-top: 1px solid rgba(17, 105, 103, 0.1);
        }

        .form-footer i {
            color: var(--primary-color);
        }

        /* Validation Messages */
        .error-message {
            color: var(--danger-color);
            font-size: 0.8rem;
            margin-top: 0.5rem;
            /* display: none; */
            align-items: center;
            gap: 0.5rem;
        }

        .error-message.show {
            display: flex;
        }

        /* Success Modal */
        .success-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .success-overlay.active {
            display: flex;
            opacity: 1;
        }

        .success-modal {
            background: white;
            padding: 3rem;
            border-radius: 24px;
            text-align: center;
            max-width: 450px;
            width: 90%;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .success-overlay.active .success-modal {
            transform: scale(1);
        }

        .success-icon {
            width: 100px;
            height: 100px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 3rem;
            color: white;
            animation: successPop 0.5s ease;
        }

        @keyframes successPop {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .success-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .success-text {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .form-group.full-width {
                grid-column: span 1;
            }

            .location-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .progress-steps::before {
                left: 25px;
                right: 25px;
            }

            .progress-line {
                left: 25px;
                right: 25px;
            }

            .step-label {
                font-size: 0.75rem;
            }

            .form-header {
                padding: 2rem 1.5rem;
            }

            .form-card {
                padding: 1.5rem;
            }

            .form-actions {
                flex-direction: column;
                gap: 1rem;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .step-indicator {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .step-info {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .location-grid {
                grid-template-columns: 1fr;
            }

            .progress-steps {
                transform: scale(0.8);
            }
        }

        /* Animation for section transition */
        .section-exit {
            animation: fadeSlideOut 0.4s ease forwards !important;
        }

        /* Review items */
        .review-item {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .review-item.full-width {
            grid-column: span 2;
        }

        .review-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .review-value {
            font-size: 0.95rem;
            color: var(--text-dark);
            font-weight: 600;
        }

        /* File upload wrapper */
        .file-upload-wrapper {
            position: relative;
        }

        .file-upload-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            border: 2px dashed rgba(17, 105, 103, 0.3);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.5);
        }

        .file-upload-label:hover {
            border-color: var(--primary-color);
            background: rgba(17, 105, 103, 0.05);
        }

        .file-upload-label i {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .file-upload-label span {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .file-upload-label .highlight {
            font-size: 0.8rem;
            color: var(--primary-color);
            margin-top: 0.25rem;
        }

        .file-upload-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }
/***************student dashboard style********************/

/********01 sidebar style************/
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(17, 105, 103, 0.4);
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s;
}





/* Floating Sidebar */
.sidebar {
    width: var(--sidebar-width);
    min-height: 80vh;
    margin: var(--sidebar-margin);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    position: fixed;
    right: 0;
    top: -10px;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 1.4rem;
    border-bottom: 2px solid rgba(17, 105, 103, 0.1);
}

.university-logo {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(17, 105, 103, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(17, 105, 103, 0.5); }
}

.university-logo i {
    font-size: 2.5rem;
    color: var(--text-white);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.75rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    transform: translateX(-5px);
}

.nav-link i {
    font-size: 1.25rem;
    margin-left: 0.75rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}
/* Large Desktops (1400px and down) */
@media (max-width: 1400px) {
    .content-grid {
       grid-template-columns: 1fr;
    }

    .right-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Desktops and Tablets Landscape (1200px and down) */
@media (max-width: 1200px) {
    :root {
    --sidebar-width: 260px;
    }
}
/* Tablets and Small Desktops (992px and down) */
@media (max-width: 992px) {
    :root {
    --sidebar-width: 280px;
    }

    /* Show mobile menu button - IMPORTANT to override any other display */
    .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    }

}
/* Mobile Landscape (576px and down) */
@media (max-width: 576px) {
    :root {
    --content-margin: 1rem;
    }

    .mobile-menu-btn {
    width: 45px;
    height: 45px;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.25rem;
    }
}
@media (max-width: 400px) {
    .mobile-menu-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    right: 0.5rem;
    top: 0.5rem;
    }
}
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::before,
    .nav-link.active::before {
    left: auto;
    right: 0;
    }

    .nav-link:hover,
    .nav-link.active {
    transform: none;

    background: rgba(17, 105, 103, 0.1);
    }
}

/**********show forms student style**************/
/* Dashboard Layout */
    .dashboard-container {
        position: relative;
        z-index: 1;
    }
    /* Page Header */
    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding: 1.5rem 2rem;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 24px;
        -webkit-backdrop-filter: blur(16px); /* دعم لمتصفحات WebKit */
    }
     /* Main Content */
        .student-main-content{
            flex: 1;
            margin-right: 310px;
            padding: 2.5rem;
            margin-top: 2.5vh;
            margin-left: 1.5vh;
            min-height: 95vh;
        }
        .header-title-student {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;

        }

        .header-subtitle {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .btn-edit {
            background: var(--primary-gradient);
            color: var(--text-white);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-edit:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
            color: var(--text-white);
        }

        /* Info Cards */
        .info-card {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--glass-shadow);
            transition: all 0.4s ease;
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(17, 105, 103, 0.1);
        }



        .section-title i {
            font-size: 1.4rem;
        }

        /* Profile Section */
        .profile-section {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
        }

        .profile-photo {
            width: 150px;
            height: 180px;
            border-radius: 20px;
            background: var(--primary-gradient);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-white);
            flex-shrink: 0;
            overflow: hidden;
            position: relative;
            box-shadow: var(--shadow-glow);
        }

        .profile-photo i {
            font-size: 4rem;
            opacity: 0.9;
        }

        .profile-photo span {
            margin-top: 0.75rem;
            font-size: 0.85rem;
            opacity: 0.8;
        }

        .profile-info {
            flex: 1;
        }

        .profile-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .student-number {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 1.25rem;
            padding: 0.5rem 1rem;
            background: rgba(17, 105, 103, 0.1);
            border-radius: 10px;
            display: inline-block;
        }

        /* Info Grid */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .info-item {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .info-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .info-value {
            font-size: 1rem;
            color: var(--text-dark);
            font-weight: 600;
            padding: 0.75rem 1rem;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 10px;
            border-right: 3px solid var(--primary-color);
        }

        .info-value.missing {
            background: rgba(231, 76, 60, 0.1);
            border-right-color: var(--danger-color);
            color: var(--danger-color);
        }

        .info-value.missing::after {
            content: ' (ناقص)';
            font-size: 0.8rem;
            opacity: 0.8;
        }

        /* Status Badges */
        .status-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 2px solid rgba(17, 105, 103, 0.1);
        }

        .status-badge {
            padding: 0.6rem 1.25rem;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .status-badge.success {
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }

        .status-badge.warning {
            background: rgba(243, 156, 18, 0.1);
            color: #f39c12;
        }

        .status-badge.danger {
            background: rgba(231, 76, 60, 0.1);
            color: #e74c3c;
        }

        .status-badge.info {
            background: rgba(17, 105, 103, 0.1);
            color: var(--primary-color);
        }

        /* Footer */
        .dashboard-footer {
            margin-top: 2rem;
            padding: 1.5rem;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
            border-top: 1px solid rgba(17, 105, 103, 0.1);
        }

        .dashboard-footer i {
            color: var(--primary-color);
        }

        /* Responsive */
        @media (max-width: 992px) {
        .bg-animation::before,
        .bg-animation::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            opacity: 0.3;
        }

            .sidebar {
                transform: translateX(100%);
            }

            .sidebar.active {
                transform: translateX(0);
            }

            .student-main-content{
                margin-right: 0;
            }

            .page-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .profile-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .info-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Animation */
        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }

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

        .info-card:nth-child(2) { animation-delay: 0.1s; }
        .info-card:nth-child(3) { animation-delay: 0.2s; }
        .info-card:nth-child(4) { animation-delay: 0.3s; }

 /**********edite student style ******************/
        .header-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .header-subtitle {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .btn-back {
            background: rgba(255, 255, 255, 0.8);
            color: var(--text-dark);
            border: 2px solid rgba(17, 105, 103, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-back:hover {
            background: rgba(17, 105, 103, 0.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .btn-save {
            background: var(--primary-gradient);
            color: var(--text-white);
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-save:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
            color: var(--text-white);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(17, 105, 103, 0.1);
        }



        .section-title i {
            font-size: 1.4rem;
        }

        /* Missing Fields Warning */
        .missing-warning {
            background: rgba(243, 156, 18, 0.1);
            border: 1px solid rgba(243, 156, 18, 0.3);
            border-radius: 12px;
            padding: 1rem 1.5rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .missing-warning i {
            font-size: 1.5rem;
            color: var(--warning-color);
        }

        .missing-warning span {
            color: var(--warning-color);
            font-weight: 600;
        }

        /* Form Styles */
        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .form-group {
            position: relative;
        }

        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
            position: relative;
        }

        .form-label.required::after {
            content: ' *';
            color: var(--danger-color);
        }

        .form-label.warning::after {
            content: ' (ناقص)';
            color: var(--warning-color);
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 0.875rem 1rem;
            font-size: 0.95rem;
            font-family: 'Tajawal', sans-serif;
            color: var(--text-dark);
            background: rgba(255, 255, 255, 0.8);
            border: 2px solid rgba(17, 105, 103, 0.1);
            border-radius: 12px;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-control:focus {
            background: white;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(17, 105, 103, 0.1);
        }

        .form-control.missing {
            border-color: var(--warning-color);
            animation: pulse-warning 2s infinite;
        }

        @keyframes pulse-warning {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4);
            }
            50% {
                box-shadow: 0 0 0 8px rgba(243, 156, 18, 0);
            }
        }

        .form-control.error {
            border-color: var(--danger-color);
        }

        select.form-control {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23116967' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 15px center;
            padding-left: 45px;
        }

        .select-wrapper {
            position: relative;
        }

        .select-wrapper::before {
            content: '';
            position: absolute;
            left: 3px;
            top: 3px;
            bottom: 3px;
            width: 40px;
            background: var(--primary-gradient);
            border-radius: 10px 0 0 10px;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .select-wrapper:focus-within::before {
            opacity: 1;
        }

        .select-wrapper select.form-control {
            position: relative;
            z-index: 2;
            padding-left: 50px;
            background-color: transparent;
        }

        .select-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 3;
            color: white;
            font-size: 1rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .select-wrapper:focus-within .select-icon {
            opacity: 1;
        }

        /* File Upload */
        .file-upload-wrapper {
            position: relative;
        }

        .file-upload-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            border: 2px dashed rgba(17, 105, 103, 0.3);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.5);
        }

        .file-upload-label:hover {
            border-color: var(--primary-color);
            background: rgba(17, 105, 103, 0.05);
        }

        .file-upload-label.missing {
            border-color: var(--warning-color);
            animation: pulse-warning 2s infinite;
            background: rgba(243, 156, 18, 0.05);
        }

        .file-upload-label i {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .file-upload-label span {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .file-upload-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        /* Responsive */
        @media (max-width: 992px) {
            /* .page-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            } */

            .form-grid {
                grid-template-columns: 1fr;
            }
        }
        .doc-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            overflow: hidden;
            transition: all var(--transition-normal);
            cursor: pointer;
        }
        .doc-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        }
        .doc-label {
            padding: 1rem;
            text-align: center;
            font-weight: 500;
            color: var(--primary-color);
            background: rgba(255, 255, 255, 0.5);
        }

    /***********guardian form style **************/
        .header-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .header-subtitle {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .btn-edit {
            background: var(--primary-gradient);
            color: var(--text-white);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-edit:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
            color: var(--text-white);
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }


        .section-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .section-title i {
            font-size: 1.4rem;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .info-item {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .info-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .info-value {
            font-size: 1rem;
            color: var(--text-dark);
            font-weight: 600;
            padding: 0.75rem 1rem;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 10px;
            border-right: 3px solid var(--primary-color);
        }

        .info-value.missing {
            background: rgba(231, 76, 60, 0.1);
            border-right-color: var(--danger-color);
            color: var(--danger-color);
        }

        .info-value.missing::after {
            content: ' (ناقص)';
            font-size: 0.8rem;
            opacity: 0.8;
        }

        .status-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 2px solid rgba(17, 105, 103, 0.1);
        }

        .status-badge {
            padding: 0.6rem 1.25rem;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .status-badge.success {
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }

        .status-badge.warning {
            background: rgba(243, 156, 18, 0.1);
            color: #f39c12;
        }

        .status-badge.info {
            background: rgba(17, 105, 103, 0.1);
            color: var(--primary-color);
        }

        .guardian-card {
            background: rgba(17, 105, 103, 0.05);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            border-right: 4px solid var(--primary-color);
        }

        .guardian-name {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .guardian-relation {
            color: var(--primary-color);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(100%);
            }

            .guardian-main-content {
                margin-right: 0;
            }

            .page-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .info-grid {
                grid-template-columns: 1fr;
            }
        }

    /************guardian form style edit******************/
        .header-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .header-subtitle {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .btn-back {
            background: rgba(255, 255, 255, 0.8);
            color: var(--text-dark);
            border: 2px solid rgba(17, 105, 103, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-back:hover {
            background: rgba(17, 105, 103, 0.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .btn-save {
            background: var(--primary-gradient);
            color: var(--text-white);
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-save:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
            color: var(--text-white);
        }




        .section-title i {
            font-size: 1.4rem;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .form-group {
            position: relative;
        }

        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
            position: relative;
        }

        .form-label.required::after {
            content: ' *';
            color: var(--danger-color);
        }

        .form-label.warning::after {
            content: ' (ناقص)';
            color: var(--warning-color);
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 0.875rem 1rem;
            font-size: 0.95rem;
            font-family: 'Tajawal', sans-serif;
            color: var(--text-dark);
            background: rgba(255, 255, 255, 0.8);
            border: 2px solid rgba(17, 105, 103, 0.1);
            border-radius: 12px;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-control:focus {
            background: white;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(17, 105, 103, 0.1);
        }

        .form-control.missing {
            border-color: var(--warning-color);
            animation: pulse-warning 2s infinite;
        }

        @keyframes pulse-warning {
            0%, 100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4); }
            50% { box-shadow: 0 0 0 8px rgba(243, 156, 18, 0); }
        }

        select.form-control {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23116967' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 15px center;
            padding-left: 45px;
        }

        .select-wrapper {
            position: relative;
        }

        .select-wrapper::before {
            content: '';
            position: absolute;
            left: 3px;
            top: 3px;
            bottom: 3px;
            width: 40px;
            background: var(--primary-gradient);
            border-radius: 10px 0 0 10px;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .select-wrapper:focus-within::before {
            opacity: 1;
        }

        .select-wrapper select.form-control {
            position: relative;
            z-index: 2;
            padding-left: 50px;
            background-color: transparent;
        }

        .select-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 3;
            color: white;
            font-size: 1rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .select-wrapper:focus-within .select-icon {
            opacity: 1;
        }

        .file-upload-wrapper {
            position: relative;
        }

        .file-upload-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            border: 2px dashed rgba(17, 105, 103, 0.3);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.5);
        }

        .file-upload-label:hover {
            border-color: var(--primary-color);
            background: rgba(17, 105, 103, 0.05);
        }

        .file-upload-label.missing {
            border-color: var(--warning-color);
            animation: pulse-warning 2s infinite;
            background: rgba(243, 156, 18, 0.05);
        }

        .file-upload-label i {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .file-upload-label span {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .file-upload-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(100%);
                margin: 0;
            }

            .guardian-main-content {
                margin-right: 0;
            }

            .page-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }
            .section-title {
                font-size: 1rem;
                display: block;
            }
            .hidden {
                display: none;
            }
        }
        .sponsor-show {
            text-align: center;
            color: #116967;
        }
 /* تنسيق زر تسجيل الخروج */
        .logout-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 12px 24px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--secondary-color) 100%);
            color: white;
            font-size: 16px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0px 20px 10px -15px #1a8a7f4b;
            margin-top: auto;
            margin-bottom: 20px;
        }

        .logout-btn:hover {
            background: #fff;
            border: 1px solid #116967;
            transform: translateY(-2px);
            box-shadow: 0px 20px 10px -15px #1a8a7f4b;
            color: #000;
        }

        .logout-btn:active {
            transform: translateY(0);
            box-shadow: 0px 20px 10px -15px #1a8a7f4b;
        }

        .logout-btn i {
            font-size: 18px;
        }

        /*****table*****/
        .table-container {
            overflow-x: auto;
            padding: 0;
        }

        /* Desktop Table Styles */
        .custom-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            margin: 0;
        }

        .custom-table thead {
            background: linear-gradient(135deg, #116967 0%, #0d524d 100%);
        }

        .custom-table thead th {
            padding: 18px 15px;
            text-align: center;
            color: white;
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.5px;
            border: none;
            white-space: nowrap;
        }

        .custom-table tbody tr {
            transition: all 0.3s ease;
            border-bottom: 1px solid #e2e8f0;
        }

        .custom-table tbody tr:hover {
            background: linear-gradient(90deg, rgba(17, 105, 103, 0.08) 0%, rgba(17, 105, 103, 0.03) 100%);
            transform: scale(1.005);
        }

        .custom-table tbody td {
            padding: 16px 12px;
            text-align: center;
            vertical-align: middle;
            color: #334155;
            font-size: 0.95rem;
        }

        .custom-table tbody td:first-child {
            font-weight: 700;
            color: #116967;
        }

        /* Row Numbers */
        .row-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, #116967 0%, #0d524d 100%);
            color: white;
            border-radius: 50%;
            font-weight: 700;
            font-size: 0.85rem;
        }

        /* Status Badges */
        .badge-status {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
        }

        .badge-warning {
            background: #fef3c7;
            color: #92400e;
        }

        .badge-danger {
            background: #fee2e2;
            color: #991b1b;
        }

        .badge-success {
            background: #d1fae5;
            color: #065f46;
        }

        /* Empty State */
        .empty-state {
            padding: 60px 20px;
            text-align: center;
            color: #94a3b8;
        }

        .empty-state i {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        /* Responsive Design - Mobile Card View */
        @media (max-width: 768px) {
            .custom-table thead {
                display: none;
            }

            /* Convert rows to cards */
            .custom-table tbody tr {
                display: block;
                margin-bottom: 15px;
                background: white;
                border-radius: 12px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
                border: 1px solid #e2e8f0;
                overflow: hidden;
            }

            .custom-table tbody tr:hover {
                transform: none;
                background: white;
            }

            .custom-table tbody td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 14px 18px;
                text-align: right;
                border-bottom: 1px solid #f1f5f9;
            }

            .custom-table tbody td:last-child {
                border-bottom: none;
            }

            /* Add labels using data-label attribute */
            .custom-table tbody td::before {
                content: attr(data-label);
                font-weight: 700;
                color: #116967;
                font-size: 0.9rem;
                min-width: 100px;
            }

            /* First cell (number) special styling */
            .custom-table tbody td:first-child {
                background: linear-gradient(135deg, #116967 0%, #0d524d 100%);
                color: white;
                border-radius: 12px 12px 0 0;
                justify-content: center;
                padding: 12px;
            }

            .custom-table tbody td:first-child::before {
                display: none;
            }

            .custom-table tbody td:first-child .row-number {
                background: white;
                color: #116967;
            }
        }

        /* Small mobile screens */
        @media (max-width: 480px) {
            .custom-table tbody td {
                padding: 12px 14px;
                font-size: 0.85rem;
            }

            .custom-table tbody td::before {
                min-width: 80px;
                font-size: 0.8rem;
            }
        }
        .modal-header{
            justify-content: space-between;
        }

        .modal-header .btn-close {
            margin-left: 0;
        }
        /*student booking*/
       .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .stat-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid #1169682a;
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }



        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
            border-color: #0d7477ac;
        }

        .stat-card:hover::before {
            transform: scaleX(1);
        }
        .stat-icon {
            width: 55px;
            height: 55px;
            border-radius: 14px;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: white;
            margin-bottom: 1rem;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.25rem;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .stat-trend {
            position: absolute;
            top: 1.25rem;
            left: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 8px;
        }

        .stat-trend.up {
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
        }

        .stat-trend.down {
            background: rgba(231, 76, 60, 0.1);
            color: #e74c3c;
        }
        /*student account*/
        .profile-header {
            background: var(--glass-bg);
            padding: 3rem 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.5);
            position: relative;
            overflow: hidden;
        }

        .student-avatar-large {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.5);
            object-fit: cover;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .profile-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: #4A4A4A;
            margin-bottom: 0.5rem;
        }
        .action-btn {
            width: 72px;
            height: 32px;
            border-radius: 8px;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            text-decoration: none;
         }
        .action-btn.show {
            background: #007bff98;
            color: white;
            padding: 10px 48px;
            white-space: nowrap;
        }


        /****closed system****/
        .holder {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            inset: 0;
            background-image: url("/images/DJI_0455.jpg");
            background-position: center;
            background-size: cover;
            backdrop-filter: blur(18px);
        }
        .holder-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.733); /* لون خفيف فوق الصورة */
            z-index: -1;
        }
        .official-page {
            max-width: 700px;
            width: 100%;
            background: #f5f5f5b8;
            border-radius: 8px;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .official-header {
            background: linear-gradient(135deg, #116967 0%, #0d524d 100%);
            color: white;
            padding: 2.5rem;
            text-align: center;
        }

        .official-header .university-logo {

            height: 50px;
            width: 50px;
        }
        .university-logo img {
            height: 80px;
            width: 80px;
            filter: brightness(0) invert(1) opacity(0.85);
        }
        .official-header .system-name {
            font-size: 1.8rem;
            font-weight: 700;
            padding: 10px;
        }

        .official-body {
            padding: 3rem 2.5rem;
            text-align: center;
        }

        .official-body .status-icon i {
            font-size: 3rem;
            color: #116967;
        }

        .official-body .status-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: #116967;
            margin-bottom: 1.4rem;
        }

        .official-body .status-subtitle {
            font-size: 1.1rem;
            color: #333;
            text-align: center
        }

        .official-body .info-box {
            background: #f8f9fa;
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: 10px;
            padding: 1.2rem;
            text-align: right;
            margin-bottom: 2rem;

        }

        .official-body .info-box-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #116967;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .official-body .info-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 0;
            font-size: 0.95rem;
            color: #333;
        }

        .official-body .info-item i {
            color: #116967;
            margin-top: 0.25rem;
        }

        .official-body .contact-section {
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .official-body .contact-title {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 1rem;
        }

        .official-body .contact-info {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .official-body .contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #116967;
            font-weight: 600;
        }

        .official-body .contact-item i {
            font-size: 1.2rem;
        }

        .official-footer {
            background: #116967;
            color: white;
            padding: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
        }

        .official-footer .copyright {
            opacity: 0.8;
            font-size: 0.85rem;
        }

        @media (max-width: 576px) {
            .official-body {
                padding: 2rem 1.5rem;
            }

            .official-body .status-title {
                font-size: 1.4rem;
            }

            .official-body .status-subtitle {
                font-size: 1rem;
            }

            .official-body .contact-info {
                flex-direction: column;
                gap: 1rem;
            }

            .official-body .info-box {
                text-align: right;
            }
        }

