 /* Enhanced Neural Network Pattern Background */
 .ai-pattern-bg {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0.06;
     z-index: 0;
     pointer-events: none;
     background:
         radial-gradient(circle at 20% 50%, rgba(132, 90, 223, 0.15) 0%, transparent 50%),
         radial-gradient(circle at 80% 80%, rgba(35, 183, 229, 0.15) 0%, transparent 50%),
         radial-gradient(circle at 40% 20%, rgba(231, 145, 188, 0.15) 0%, transparent 50%),
         radial-gradient(circle at 60% 40%, rgba(132, 90, 223, 0.08) 0%, transparent 50%);
     background-size: 100% 100%;
     animation: patternShift 20s ease-in-out infinite;
 }

 @keyframes patternShift {

     0%,
     100% {
         background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%;
     }

     50% {
         background-position: 20% 30%, 80% 70%, 60% 40%, 70% 30%;
     }
 }

 .ai-pattern-bg::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image:
         url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='neural' x='0' y='0' width='200' height='200' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='40' cy='40' r='2' fill='%23845adf' opacity='0.4'/%3E%3Ccircle cx='100' cy='60' r='2' fill='%2323b7e5' opacity='0.4'/%3E%3Ccircle cx='160' cy='40' r='2' fill='%23e791bc' opacity='0.4'/%3E%3Cline x1='40' y1='40' x2='100' y2='60' stroke='%23845adf' stroke-width='0.8' opacity='0.2'/%3E%3Cline x1='100' y1='60' x2='160' y2='40' stroke='%2323b7e5' stroke-width='0.8' opacity='0.2'/%3E%3Ccircle cx='60' cy='120' r='2' fill='%23845adf' opacity='0.4'/%3E%3Ccircle cx='140' cy='140' r='2' fill='%2323b7e5' opacity='0.4'/%3E%3Cline x1='40' y1='40' x2='60' y2='120' stroke='%23845adf' stroke-width='0.8' opacity='0.2'/%3E%3Cline x1='160' y1='40' x2='140' y2='140' stroke='%23e791bc' stroke-width='0.8' opacity='0.2'/%3E%3Cline x1='60' y1='120' x2='140' y2='140' stroke='%2323b7e5' stroke-width='0.8' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23neural)'/%3E%3C/svg%3E");
     opacity: 0.3;
     animation: patternMove 30s linear infinite;
 }

 @keyframes patternMove {
     0% {
         transform: translate(0, 0);
     }

     100% {
         transform: translate(200px, 200px);
     }
 }

 /* Enhanced Glassmorphism Cards with Unique AI Aesthetic */
 .glass-card {
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
     backdrop-filter: blur(30px) saturate(180%);
     -webkit-backdrop-filter: blur(30px) saturate(180%);
     border: 1px solid rgba(255, 255, 255, 0.6) !important;
     box-shadow:
         0 12px 40px rgba(132, 90, 223, 0.12),
         0 4px 12px rgba(0, 0, 0, 0.08),
         inset 0 1px 0 rgba(255, 255, 255, 0.9),
         inset 0 -1px 0 rgba(132, 90, 223, 0.05);
     transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     overflow: hidden;
     border-radius: 24px;
 }

 .glass-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg,
             transparent,
             rgba(132, 90, 223, 0.1),
             rgba(35, 183, 229, 0.1),
             transparent);
     transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
     pointer-events: none;
 }

 .glass-card::after {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(132, 90, 223, 0.05) 0%, transparent 70%);
     opacity: 0;
     transition: opacity 0.5s ease;
     pointer-events: none;
 }

 .glass-card:hover::before {
     left: 100%;
 }

 .glass-card:hover::after {
     opacity: 1;
 }

 .glass-card:hover {
     transform: translateY(-6px) scale(1.01);
     background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
     box-shadow:
         0 20px 60px rgba(132, 90, 223, 0.25),
         0 8px 24px rgba(0, 0, 0, 0.12),
         inset 0 1px 0 rgba(255, 255, 255, 1),
         inset 0 -1px 0 rgba(132, 90, 223, 0.1);
     border-color: rgba(132, 90, 223, 0.5) !important;
 }

 /* Enhanced Modern Input Fields */
 .glass-input {
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(132, 90, 223, 0.2) !important;
     border-radius: 12px !important;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     color: #1a1a1a !important;
     font-weight: 600 !important;
     padding: 12px 16px !important;
     box-shadow:
         0 2px 8px rgba(132, 90, 223, 0.08),
         inset 0 1px 0 rgba(255, 255, 255, 0.9);
 }

 .glass-input:focus {
     background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
     border-color: rgba(132, 90, 223, 0.5) !important;
     box-shadow:
         0 0 0 4px rgba(132, 90, 223, 0.15),
         0 4px 12px rgba(132, 90, 223, 0.2),
         inset 0 1px 0 rgba(255, 255, 255, 1) !important;
     outline: none;
     transform: translateY(-2px);
 }

 .glass-input.error-border {
     border: 2px solid #dc3545 !important;
     /* Bootstrap danger */
 }

 /* Enhanced Gradient Header with Unique AI Aesthetic */
 .gradient-header {
     background: linear-gradient(135deg,
             rgba(132, 90, 223, 0.12) 0%,
             rgba(35, 183, 229, 0.12) 50%,
             rgba(231, 145, 188, 0.08) 100%) !important;
     backdrop-filter: blur(20px) saturate(180%);
     -webkit-backdrop-filter: blur(20px) saturate(180%);
     border: none !important;
     border-top: none !important;
     border-bottom: none !important;
     -webkit-border-after: none !important;
     padding: 20px 32px !important;
     box-shadow: none !important;
     position: relative;
 }

 .gradient-header::before {
     display: none !important;
     content: none !important;
 }

 @keyframes gradientShift {

     0%,
     100% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }
 }

 /* Enhanced Gradient Buttons with Unique AI Aesthetic */
 .gradient-btn-primary {
     background: linear-gradient(135deg, #845adf 0%, #23b7e5 100%) !important;
     border: none !important;
     color: #ffffff !important;
     font-weight: 700 !important;
     padding: 14px 36px !important;
     border-radius: 16px !important;
     box-shadow:
         0 6px 20px rgba(132, 90, 223, 0.35),
         0 2px 8px rgba(132, 90, 223, 0.2),
         inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
     position: relative;
     overflow: hidden;
 }

 .gradient-btn-primary::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
     transition: left 0.5s;
 }

 .gradient-btn-primary:hover::before {
     left: 100%;
 }

 .gradient-btn-primary:hover {
     transform: translateY(-3px) scale(1.02);
     box-shadow:
         0 10px 30px rgba(132, 90, 223, 0.45),
         0 4px 12px rgba(132, 90, 223, 0.3),
         inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
     background: linear-gradient(135deg, #7a4fd4 0%, #1fa8d4 100%) !important;
 }

 .gradient-btn-secondary {
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)) !important;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(132, 90, 223, 0.3) !important;
     color: #845adf !important;
     font-weight: 700 !important;
     padding: 14px 36px !important;
     border-radius: 16px !important;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
     box-shadow:
         0 4px 12px rgba(132, 90, 223, 0.15),
         inset 0 1px 0 rgba(255, 255, 255, 0.8);
 }

 .gradient-btn-secondary:hover {
     background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95)) !important;
     border-color: rgba(132, 90, 223, 0.5) !important;
     transform: translateY(-3px) scale(1.02);
     box-shadow:
         0 8px 20px rgba(132, 90, 223, 0.25),
         inset 0 1px 0 rgba(255, 255, 255, 1);
     color: #6d48c7 !important;
 }

 /* Enhanced Modern Select Dropdowns */
 .glass-select {
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(132, 90, 223, 0.2) !important;
     border-radius: 12px !important;
     color: #1a1a1a !important;
     font-weight: 600 !important;
     appearance: none !important;
     -webkit-appearance: none !important;
     -moz-appearance: none !important;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23845adf' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
     background-repeat: no-repeat !important;
     background-position: right 20px center !important;
     background-size: 12px 12px !important;
     padding: 12px 44px 12px 16px !important;
     box-shadow:
         0 2px 8px rgba(132, 90, 223, 0.08),
         inset 0 1px 0 rgba(255, 255, 255, 0.9);
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .glass-select:focus {
     background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
     border-color: rgba(132, 90, 223, 0.5) !important;
     box-shadow:
         0 0 0 4px rgba(132, 90, 223, 0.15),
         0 4px 12px rgba(132, 90, 223, 0.2),
         inset 0 1px 0 rgba(255, 255, 255, 1) !important;
     outline: none;
     transform: translateY(-2px);
 }

 /* Enhanced Textarea Styling */
 textarea.form-control {
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(132, 90, 223, 0.2) !important;
     border-radius: 12px !important;
     color: #1a1a1a !important;
     font-weight: 500 !important;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     padding: 14px 16px !important;
     box-shadow:
         0 2px 8px rgba(132, 90, 223, 0.08),
         inset 0 1px 0 rgba(255, 255, 255, 0.9);
 }

 textarea.form-control:focus {
     background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
     border-color: rgba(132, 90, 223, 0.5) !important;
     box-shadow:
         0 0 0 4px rgba(132, 90, 223, 0.15),
         0 4px 12px rgba(132, 90, 223, 0.2),
         inset 0 1px 0 rgba(255, 255, 255, 1) !important;
     outline: none;
     transform: translateY(-2px);
 }

 /* Header Container Styling */
 .app-header {
     position: relative !important;
     top: 0 !important;
     z-index: 100 !important;
     visibility: visible !important;
     opacity: 1 !important;
     margin: 0 !important;
     margin-top: 0 !important;
     padding-top: 12px !important;
     padding-bottom: 12px !important;
 }

 @media (min-width: 992px) {
     .app-header {
         padding-left: 110px !important;
     }
 }

 .main-header-container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 15px;
 }

 .main-header-container .header-element {
     display: flex;
     align-items: center;
     padding-left: 0 !important;
 }

 .header-content-left {
     display: flex;
     align-items: center;
     gap: 0;
 }

 .header-element {
     display: flex;
     align-items: center;
 }

 .main-content {
     padding-left: 110px !important;
     margin-top: 0 !important;
     padding-top: 0 !important;
 }

 @media (max-width: 991px) {
     .main-content {
         padding-left: 0 !important;
         margin-top: 0 !important;
         padding-top: 0 !important;
     }

     .app-header {
         padding-left: 0 !important;
     }
 }

 /* Enhanced Main Content Background */
 .main-content {
     background: linear-gradient(135deg,
             rgba(255, 255, 255, 0.5) 0%,
             rgba(132, 90, 223, 0.03) 50%,
             rgba(35, 183, 229, 0.03) 100%) !important;
     position: relative;
     z-index: 1;
 }

 .main-content::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background:
         radial-gradient(circle at 10% 20%, rgba(132, 90, 223, 0.05) 0%, transparent 50%),
         radial-gradient(circle at 90% 80%, rgba(35, 183, 229, 0.05) 0%, transparent 50%);
     pointer-events: none;
     opacity: 0.6;
 }

 /* Reset default spacing */
 html {
     margin: 0 !important;
     padding: 0 !important;
 }

 /* Page Background */
 body {
     margin: 0 !important;
     padding: 0 !important;
     padding-top: 0 !important;
     margin-top: 0 !important;
     background-image: url(./assets/images/bg/body-bg.png);
     background-size: cover;
     background-repeat: no-repeat;
     background-attachment: fixed;
 }

 .page {
     position: relative;
     z-index: 1;
     background: linear-gradient(135deg,
             rgba(255, 255, 255, 0.4) 0%,
             rgba(132, 90, 223, 0.02) 50%,
             rgba(35, 183, 229, 0.02) 100%);
     margin: 0 !important;
     padding: 0 !important;
     margin-top: 0 !important;
     padding-top: 0 !important;
 }

 /* Enhanced Section Headings with Animated Gradient */
 .glass-card h6 {
     color: #000000 !important;
     font-weight: 800 !important;
     font-size: 20px !important;
     margin-bottom: 24px !important;
     background: linear-gradient(135deg, #845adf, #23b7e5, #e791bc);
     background-size: 200% 200%;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     animation: titleGradient 4s ease infinite;
     letter-spacing: -0.3px;
 }

 @keyframes titleGradient {

     0%,
     100% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }
 }

 /* Enhanced Form Labels */
 .form-label {
     color: #1a1a1a !important;
     font-weight: 700 !important;
     font-size: 15px !important;
     margin-bottom: 10px !important;
     letter-spacing: 0.2px;
 }

 /* Enhanced Drag & Drop Area */
 #drop-area {
     border: 3px dashed rgba(132, 90, 223, 0.3) !important;
     border-radius: 20px !important;
     background: linear-gradient(135deg,
             rgba(132, 90, 223, 0.03),
             rgba(35, 183, 229, 0.02)) !important;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     overflow: hidden;
     pointer-events: auto !important;
     cursor: pointer;
 }

 #drop-area::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg,
             transparent,
             rgba(132, 90, 223, 0.1),
             transparent);
     transition: left 0.6s ease;
     pointer-events: none;
 }

 #drop-area:hover::before {
     left: 100%;
 }

 #drop-area:hover {
     border-color: rgba(132, 90, 223, 0.6) !important;
     background: linear-gradient(135deg,
             rgba(132, 90, 223, 0.08),
             rgba(35, 183, 229, 0.05)) !important;
     transform: translateY(-4px);
     box-shadow:
         0 8px 24px rgba(132, 90, 223, 0.2),
         inset 0 1px 0 rgba(255, 255, 255, 0.3);
 }

 .error-border {
     border: 1px solid red !important;
 }

 /* Make all checkboxes match AI theme (purple) */
 .form-check-input {
     accent-color: #845adf;
     /* Modern browsers */
     cursor: pointer;
 }

 /* For Bootstrap custom style override */
 .form-check-input:checked {
     background-color: #845adf !important;
     border-color: #845adf !important;
 }

 .form-check-input:focus {
     border: 2px solid #E1E1E1 !important;
     /* ✅ consistent border */
     border-width: 0.12rem !important;
     box-shadow: 0 0 0 0.25rem rgba(132, 90, 223, 0.25);
     /* Purple glow to match AI theme */
 }

 .form-check-input {
     width: 20px;
     height: 20px;
     border-color: #E1E1E1 !important;
     border-width: 0.14rem !important;
     border-style: solid !important;
     border-radius: 0.6rem;
     /*rounded corners like form-control */

     background-color: var(--form-control-bg);
     cursor: pointer;
 }

 @media (max-width: 991px) {
     .col-xxl-12.col-xl-12.d-flex {
         justify-content: flex-start !important;
         align-items: stretch !important;
     }

     body,
     .page,
     .main-content {
         height: auto !important;
         min-height: 100vh;
         overflow-y: auto;

     }

     input,
     textarea,
     select {
         font-size: 16px !important;
     }

     #coreskill {
         max-width: 100%;
         overflow-x: auto;
         /* horizontal scrollbar */
         overflow-y: hidden;
         /* no vertical scroll */
         white-space: nowrap;
         /* prevent wrapping */
         -webkit-overflow-scrolling: touch;
         /* smooth mobile scroll */
         background-color: #f3f3f3;
     }

     #coreskill.error-border {
         border: 2px solid #dc3545 !important;
     }

     .glass-input-select.error-border,
     .form-select.error-border {
         border: 2px solid #dc3545 !important;
     }

 }