/*
===================================================================
    FROM styles/style.css
===================================================================
*/

body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

main, #leftMenuFragment {
    flex: 1 0 auto !important;
}

.main-content {
    flex-grow: 1;
    margin-bottom: 35px;
}

/* --- Global Notification --- */
.global-notification-bubble {
    background: #ffeeba;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px 40px 12px 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    text-align: center;
    font-size: 1.1em;
}

.global-notification-bubble .close-btn {
    position: absolute;
    right: 16px;
    top: 8px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #856404;
    cursor: pointer;
}


/* --- Cookie Banner --- */
.tab-content {
    padding-top: 10px;
}

#cookieinfo {
    width: 900px;
    margin-bottom: 10px;
    margin-left: 14px;
    margin-top: -8px;
    padding: 12px;
    font-family: Arial, sans-serif;
    color: #645e5d;
    z-index: 100;
    display: none;
    position: relative;
    background-color: #F7F7F7;
    border-radius: 0px 0px 6px 6px;
}

#cookieinfo_text {
    font-size: 11px !important;
    line-height: 16px !important;
}

#cookieinfo_ok {
    float: right;
    font-size: 11px !important;
    border: 1px solid #645e5d;
    border-radius: 3px;
    padding: 3px 20px;
    margin-left: 30px;
    cursor: pointer;
    line-height: 16px !important;
}


/* ---  Workspace --- */
.readonly-area {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    background-color: #f9f9f9;
    white-space: pre-line;
    color: #333;
}

.total-summary {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.button-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.address-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.right-column-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.compact-number {
    padding: 0.1rem 0.1rem !important;
    margin: 0;
    font-size: 0.9rem;
    height: auto;
}

.col-posnr {
    width: 30px;
}

.col-artikel {
    width: 90px;
}

.col-description {
    padding: 0.1rem 0.1rem !important;
    width: 100%;
}

.col-mwst {
    width: 60px;
}

.auto-grow {
    resize: vertical;
    overflow: hidden;
    height: 22px !important;
    min-height: 15px;
}

.alert-container {
    margin-top: 15px;
}

.total-summary p {
    margin: 5px 0;
}

.total-divider {
    width: 100%;
    border-top: 2px solid #000;
    margin: 10px 0;
}

.button-container button {
    width: 180px;
}

.totals p {
    margin: 1px 0;
    font-size: 0.95rem;
}

.total-divider {
    width: 100%;
    border-top: 2px solid #000;
    margin: 4px 0;
}

#dropArea.highlight {
    border-color: #666;
    background-color: #f0f0f0;
}

.decimal {
    text-align: right;
}

.smry-total {
    max-width: 125px;
    word-wrap: break-word;
    white-space: normal;
    padding-right: 25px !important;
}

.action-buttons button {
    margin-right: 5px;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filter-container input {
    max-width: 300px;
}

.email-notification {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal-lg, .modal-xl {
    --bs-modal-width: 80%;
}

.modal.modal-stack {
    z-index: 1060 !important;
}

.modal-backdrop.modal-stack-backdrop {
    z-index: 1055 !important;
}

div.apexcharts-toolbar button.apexcharts-selected {
    background-color: rgba(255, 128, 64, 0.15) !important;
}

.table > :not(caption) > * > * {
    padding: .3rem .3rem !important;
}

.btn-sm {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.4rem;
}

.verification-code-icon {
    min-width: 2.75rem;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.verification-code-icon-valid {
    color: #4CAF50 !important;
}

.verification-code-icon-invalid {
    color: #f44336 !important;
}


/*
===================================================================
    COURSES STYLE
===================================================================
*/

.blog-card {
    color: white !important;
    display: inline-block;
    width: 100%;
    box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
    line-height: 1.4;
    vertical-align: top;
}

.blog-card .meta {
    position: relative;
    z-index: 0;
    height: 240px;
}

.blog-card .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.blog-card img.photo {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Zoom hover effect */
.blog-card:hover .photo {
    transform: scale(1.05);
}

.blog-card .meta-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.blog-card .description {
    padding: 1rem;
    background-color: transparent;
    position: relative;
    z-index: 1;
    color: white;
}

.blog-card .description h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.blog-card .description h2 {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.courses-loading-spinner-icon {
    width: 3rem;
    height: 3rem;
}

.courses-empty-state {
    width: 100%;
    max-width: 600px;
}

.courses-empty-icon {
    width: 80px;
    height: 80px;
    color: #FF8040;
    opacity: 0.8;
}

.courses-refresh-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.course-review-summary {
    font-size: 0.95rem;
    line-height: 1.2;
}

.my-course-card {
    min-height: 100%;
    height: auto;
    cursor: pointer;
}

.my-course-card .meta {
    height: 200px;
}

.course-description-full {
    display: block;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal;
}

.blog-card .description p {
    position: relative;
    margin: 0 0 1rem 0;
    color: white;
    max-height: 100px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* --- MAGIC --- */

.blog-card .description .content-swap-wrapper {
    position: relative;
    height: 100px;
    margin-top: 1rem;
}

.blog-card .description .content-swap-wrapper p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    transition: opacity 0.3s ease-in-out;
}

.blog-card .description .content-swap-wrapper p.read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0;
}

.blog-card .description .content-swap-wrapper p:not(.read-more) {
    opacity: 1;
    height: 100%;
    overflow: hidden;
}

/* --- HOVER LOGIC --- */
/*   allCourses.html   */
.blog-card:hover .description .content-swap-wrapper p:not(.read-more) {
    opacity: 0;
}

.blog-card:hover .description .content-swap-wrapper p.read-more {
    opacity: 1;
}


/* --- BUTTON CSS --- */

.button-56 {
    align-items: center;
    background-color: #FF8040;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    display: inline-flex;

    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    line-height: 24px;
    max-width: 100%;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin: 10px;
}

.button-56-no-shadow {
    align-items: center;
    background-color: #FF8040;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    display: inline-flex;

    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    line-height: 24px;
    max-width: 100%;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin: 10px;
}

.button-56-mini {
    align-items: center;
    background-color: #FF8040;
    border: 2px solid #111;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    margin: 5px;

    display: flex;
    gap: 0;

    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

/* (transparent) */
.button-56-secondary {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #e0e0e0;
    cursor: pointer;
    display: inline-flex;
    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 45px;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.3s ease;
    margin: 10px;
}

.modal-content.glass-card {
    background: rgba(20, 20, 30, 0.85) !important;
}

.button-56-mini i {
    font-size: 18px;
    line-height: 1;
}

.button-56-mini:hover {
    background-color: #ffb089;
    border-color: #111;
    color: #111;
}

.button-56:after {
    background-color: #FF8040;
    border-radius: 8px;
    content: "";
    display: block;
    height: 68px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    z-index: -1;
}

.button-56:hover:after {
    transform: translate(0, 0);
}

.button-56:active {
    background-color: #ffdeda;
    outline: 0;
}

.button-56:hover {
    outline: 0;
}

.button-56-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
}

@media (min-width: 768px) {
    .button-56 {
        padding: 0 40px;
    }
}

.glass-btn-menu {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    touch-action: manipulation; /* cancel 300ms delay on touchscreen devices */
}

.glass-btn-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.glass-btn-menu i {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .glass-btn-menu {
        left: 15px;
    }
}

/* =========================================
   ANIMAȚII PENTRU BUTONUL DE MENIU (Pop In/Out)
   ========================================= */

/* Starea inițială (Ascuns) - Pentru a nu avea "flicker" la încărcare */
.glass-btn-menu.hidden-state {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

/* Animația de Intrare (Pop In) */
@keyframes menuPopIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    60% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2); /* Sare puțin peste dimensiune */
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1); /* Se așează */
    }
}

/* Clasa care activează intrarea */
.glass-btn-menu.animate-in {
    animation: menuPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Animația de Ieșire (Pop Out) */
@keyframes menuPopOut {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
}

/* Clasa care activează ieșirea */
.glass-btn-menu.animate-out {
    animation: menuPopOut 0.3s ease-in forwards;
    pointer-events: none; /* Să nu mai poți da click în timp ce dispare */
}


/* --- Popup Modal --- */

.popup {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup__content {
    width: 1000px;
    height: 600px;

    background-color: #fff;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, .2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    color: #777;
    text-decoration: none;
    line-height: 1;
    z-index: 10;
}

.popup__close:hover {
    color: #111;
}

.popup__left-pane {
    width: 450px;
    flex-shrink: 0;
    background-color: #eee;
}

.popup__left-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup__right-pane {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 25px;
}

.popup__title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex-shrink: 0;
}

.popup__rating {
    flex-shrink: 0;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.5rem;
    color: #f39c12;
}

.popup__text {
    flex-grow: 1;
    overflow-y: auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    padding-right: 15px;
}

/* Footer */
.popup__footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.popup__price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FF8040;
    margin: 0;
}

.button-redirect {
    background-color: #FF8040;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.button-redirect:hover {
    background-color: #e06020;
}

.course-progress {
    width: 100%;
    height: 5px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.2);
}

.course-progress::-webkit-progress-bar {
    background-color: rgba(255, 255, 255, 0.2);
}

.course-progress::-webkit-progress-value {
    background-color: #FF8040;
}

.course-progress::-moz-progress-bar {
    background-color: #FF8040;
}


/* --- SHOPPING CART --- */
.blog-card {
    font-family: Arial, sans-serif;
    display: inline-block;
    width: 100%;
    box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
    line-height: 1.4;
    vertical-align: top;
}

.blog-card .meta {
    position: relative;
    z-index: 0;
    height: 240px;
}

.blog-card .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

/* Zoom hover effect */
.blog-card:hover .photo {
    transform: scale(1.05);
}

.blog-card .meta-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.blog-card .description {
    padding: 1rem;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.blog-card .description h2 {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.blog-card .description p {
    position: relative;
    margin: 0 0 1rem 0;
    color: white;
    max-height: 100px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* --- MAGIC --- */

.blog-card .description .content-swap-wrapper {
    position: relative;
    height: 100px;
    margin-top: 1rem;
}

.blog-card .description .content-swap-wrapper p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    transition: opacity 0.3s ease-in-out;
}

.blog-card .description .content-swap-wrapper p.read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0;
}

.blog-card .description .content-swap-wrapper p:not(.read-more) {
    opacity: 1;
    height: 100%;
    overflow: hidden;
}

/* --- HOVER LOGIC --- */
/* allCourses.html   */
.blog-card:hover .description .content-swap-wrapper p:not(.read-more) {
    opacity: 0;
}

.blog-card:hover .description .content-swap-wrapper p.read-more {
    opacity: 1;
}


/* --- BUTTON CSS --- */

.button-56 {
    align-items: center;
    background-color: #FF8040;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    display: inline-flex;

    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    line-height: 24px;
    max-width: 100%;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-56:after {
    background-color: #111;
    border-radius: 8px;
    content: "";
    display: block;
    height: 48px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    transition: transform .2s ease-out;
    z-index: -1;
}

.button-56:hover:after {
    transform: translate(0, 0);
}

.button-56:active {
    background-color: #ffdeda;
    outline: 0;
}

.button-56:hover {
    outline: 0;
}

@media (min-width: 768px) {
    .button-56 {
        padding: 0 40px;
    }
}

/* --- Popup Modal --- */

.popup {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup__content {
    width: 1000px;
    height: 600px;

    background-color: #fff;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, .2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    color: #777;
    text-decoration: none;
    line-height: 1;
    z-index: 10;
}

.popup__close:hover {
    color: rgba(255, 0, 0, 0.4);
}

.popup__left-pane {
    width: 450px;
    flex-shrink: 0;
    background-color: #eee;
}

.popup__left-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup__right-pane {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 25px;
}

.popup__title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex-shrink: 0;
}

.popup__rating {
    flex-shrink: 0;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.5rem;
    color: #f39c12;
}

.popup__text {
    flex-grow: 1;
    overflow-y: auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    padding-right: 15px;
}

/* Footer */
.popup__footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.popup__price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FF8040;
    margin: 0;
}

.button-redirect {
    background-color: #FF8040;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.button-redirect:hover {
    background-color: #e06020;
}


/* --- Shopping Cart Page --- */

.cart-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 1.5rem;
}

.cart-item-details {
    flex-grow: 1;
    margin-right: 1.5rem;
}

.cart-item-details h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    width: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 1.5rem;
    text-align: right;
}

.cart-item-quantity input {
    max-width: 80px;
    text-align: center;
    margin-right: 1.5rem;
}

.cart-item-remove .btn-remove {
    background: none;
    border: none;
    color: #dc3545;
    padding: 0.5rem;
    border-radius: 50%;
}

.cart-item-remove .btn-remove:hover {
    background: #f8d7da;
}

.cart-empty-icon {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.cart-item-shell {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cart-item-action-icon {
    width: 20px;
    height: 20px;
}

.cart-summary-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

@media (max-width: 767px) {
    .cart-item {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .cart-item-img {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }

    .cart-item-details {
        flex-basis: 60%;
    }

    .cart-item-price, .cart-item-quantity {
        width: auto;
        flex-basis: 50%;
        text-align: left;
        margin-top: 1rem;
    }
}

#cart .nomargin {
    margin: 0;
}

#cart .actions .icon-sm {
    width: 16px;
    height: 16px;
}

.cart-pos-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    margin: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/*--- Hover for QUOTE ---*/

.quote-card {
    color: wheat;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: black;

    background: radial-gradient(
            circle at center,
            #000000,
            #000000,
            #000000,
            #000B58,
            #000000,
            #000000,
            #000000
    );
    background-size: 300% 400%;
    animation: gradientScroll 35s infinite;
}

body.course-modal-open {
    overflow: hidden;
}

.checkout-spinner {
    margin-right: 8px;
}

@keyframes gradientScroll {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/*
===================================================================
   INDEX
===================================================================
*/

.typewriter h1 {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 2.5s steps(17, end),
    blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }
    50% {
        border-color: orange;
    }
}

#banner {
    padding: 6em 4em 4em 4em;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    color: white;
    background-color: transparent;
    min-height: 50vh;
    height: 50vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner .inner {
    position: relative;
    z-index: 2;
    padding: 3em;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#banner .inner.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

#banner header {
    margin-bottom: 2em;
}

#banner h1 {
    font-size: 4em;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

#banner p {
    font-size: 1.25em;
    margin-bottom: 0.5em;
    color: #ffffff;
}

.button.big.alt {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease-in-out;
    border-radius: 4px;
    border: 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    height: 2.85em;
    line-height: 2.95em;
    padding: 0 1.5em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    font-size: 1.35em;
    background-color: #FF8040;
    color: #ffffff !important;
}

.button.big.alt:hover {
    background-color: #e06020;
}

.wrapper {
    padding: 3em 0 1em 0;
    position: relative;
}

.wrapper.style2 {
    background-color: transparent;
}

.wrapper .inner {
    margin: 0 auto;
    width: 90%;
    max-width: 80em;
    position: relative;
    z-index: 99;
}

header {
    background-color: transparent;
}

header.align-center {
    text-align: center;
    margin-bottom: 2em;
}

header.align-center h2 {
    font-size: 2em;
    font-weight: 600;
    color: white;
}

header.align-center p {
    color: #c0c0c0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-tabs {
    display: flex;
    flex-wrap: nowrap;
}


.flex-tabs .tab-list {
    list-style: none;
    padding: 0;
    margin: 0 2em 2em 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 15em;
}

.flex-tabs .tab-list li {
    padding: 0;
    margin: 0;
}

.flex-tabs .tab-list a {
    display: block;
    padding: 1em 1.25em;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;

    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 0.5em;
}

.flex-tabs .tab-list a:hover {
    background: rgba(255, 255, 255, 0.2);
}


.flex-tabs .tab-list a.active {
    background-color: #FF8040;
    color: white;
    font-weight: 600;
}

.flex-tabs .tabs {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 40em;
}

.flex-tabs .tab {
    display: none;
}

.flex-tabs .tab.active {
    display: block;
}


@media screen and (max-width: 980px) {
    .flex-tabs .tab-list {
        flex-basis: 30%;
    }

    .flex-tabs .tabs {
        flex-basis: 67%;
    }
}

@media screen and (max-width: 736px) {
    .flex-tabs {
        flex-wrap: wrap;
    }

    .flex-tabs .tab-list {
        width: 100%;
        flex-basis: auto;
        margin-right: 0;
    }

    .flex-tabs .tabs {
        width: 100%;
        flex-basis: auto;
    }
}


/*
===================================================================
    FOOTER
===================================================================
*/

#pageFooter {
    position: static;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    color: #c0c0c0;
    padding: 3rem 0;
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    box-shadow: none;
}

/* ===================================================================
    INLINE CSS MIGRATIONS
=================================================================== */

.logout-form-inline {
    display: inline;
}

.logout-form-hidden {
    display: none;
}

.logout-button-reset {
    border-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.button-56-mini-transparent-border {
    border-color: transparent;
}

.sidebar-wrapper-full-height {
    height: 100%;
}

.sidebar-inner-fixed-width {
    width: 260px;
}

.modal-glass-border {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-dark-outline {
    border: 2px solid #111;
    border-radius: 8px;
}

.modal-header-divider-light {
    border-bottom: 1px solid #eaeaea;
}

.modal-header-divider-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer-divider-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title-dark {
    color: #111;
}

.modal-title-accent {
    color: #FF8040;
}

.modal-icon-accent-sm {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: #FF8040;
}

.modal-icon-accent-lg {
    width: 56px;
    height: 56px;
    color: #FF8040;
    margin-bottom: 15px;
}

.modal-icon-info-sm {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.modal-icon-credit {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: text-bottom;
}

.modal-icon-success {
    color: #4CAF50;
    margin-right: 8px;
}

.button-icon-spacing {
    margin-right: 8px;
}

.course-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.invoice-table-scroll {
    overflow-x: auto;
}

.page-title-white {
    color: white;
}

.quote-card-max {
    max-width: 500px;
}

.quote-icon-sm {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.quote-text-reset {
    font-weight: 500;
    margin-bottom: 0;
}

.history-scroll {
    overflow: auto;
}

.overview-summary {
    text-align: center;
    margin-bottom: 20px;
}

.overview-summary-title {
    margin: 0;
}

.overview-summary-subtitle {
    margin: 5px 0 0 0;
    color: gray;
    font-size: 14px;
}

.overview-chart {
    max-width: 1200px;
    margin: 35px auto;
}

.accent-link {
    color: #FF8040;
}

.verification-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.verification-box-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    margin-top: -2px;
}

.verification-code-group {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.verification-code-button {
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.verification-code-input {
    letter-spacing: 2px;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    color: white;
    box-shadow: none;
}

.verification-code-icon {
    display: none;
    background: rgba(0, 0, 0, 0.25);
    border: none;
}

.conditions-label {
    padding-left: 15px;
}

.validation-modal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.validation-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.validation-modal .modal-title {
    color: #FF8040;
}

.validation-modal .modal-title-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.validation-modal .modal-body .validation-list {
    color: white;
    list-style-type: square;
}

.validation-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.validation-modal .button-56-secondary {
    height: 40px;
    font-size: 14px;
}

.profile-page {
    background-color: #000000;
}

.profile-page main h2,
.profile-page main label,
.profile-page main .form-label {
    color: #ffffff !important;
}

.profile-page main h2 {
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 30px;
}

.profile-page main .card-header,
.profile-page main .card-body {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0;
    padding-right: 0;
}

.profile-page main input.form-control,
.profile-page main select.form-control {
    background-color: #111111 !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
    border-radius: 6px;
}

.profile-page main input.form-control:focus,
.profile-page main select.form-control:focus {
    background-color: #1a1a1a !important;
    border-color: #0d6efd !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.profile-page main .form-group {
    color: rgba(255, 255, 255, 0.7);
}

.profile-page #kundigung-header:hover h2,
.profile-page #password-header:hover h2 {
    color: #FF8040 !important;
    transition: color 0.3s ease;
}

.profile-update-btn {
    font-weight: bold;
}

.profile-info-alert {
    background-color: rgba(13, 110, 253, 0.1);
    border: none;
    color: #0d6efd;
}

.profile-danger-alert {
    background-color: rgba(220, 53, 69, 0.1);
    border: none;
    color: #dc3545;
}

.profile-success-alert {
    background-color: rgba(25, 135, 84, 0.1);
    border: none;
    color: #198754;
}

.password-toggle-header {
    cursor: pointer;
}

.password-title-small {
    font-size: 22px;
}

.password-toggle-arrow {
    font-size: 0.7em;
    vertical-align: middle;
    margin-left: 5px;
}

.password-label {
    margin-bottom: 8px;
}

.password-code-icon {
    display: none;
    background: transparent;
    border-left: none;
}

.password-info {
    display: none;
}

.email-verification-modal {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
}

.email-verification-modal .modal-header {
    border-bottom: 1px solid #333;
}

.email-verification-modal .modal-title {
    color: #FF8040;
}

.email-verification-modal .modal-body p {
    font-size: 14px;
}

.email-verification-modal .form-label {
    font-size: 14px;
}

.email-verification-modal .modal-footer {
    border-top: 1px solid #333;
}

.email-verification-modal .code-input {
    background-color: #111;
    color: white;
    border-color: #333;
}

.email-verification-modal .code-icon {
    display: none;
    background: transparent;
    border-color: #333;
    border-left: none;
}

.email-verification-modal .info-text {
    display: none;
}

.payment-error-page {
    font-family: Arial, Helvetica, sans-serif;
    padding: 24px;
}

.payment-error-page #error-box {
    border: 1px solid #e0b4b4;
    background: #fff6f6;
    color: #9f3a38;
    padding: 18px;
    border-radius: 6px;
}

.payment-error-page #error-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.payment-error-page #error-message {
    white-space: pre-wrap;
    word-break: break-word;
}

.payment-error-page a.button {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 12px;
    background: #0055DE;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

.banner-description {
    color: white;
    font-size: 0.85em;
    line-height: 1.6;
    max-width: 750px;
    margin: 1.5em auto 0 auto;
    text-align: left;
}

.lesson-url-link {
    max-width: 180px;
}

.notification-input-container {
    display: none;
    margin-top: 10px;
}

.notification-message-input {
    width: 300px;
    display: inline-block;
}

.contact-message-icon {
    align-items: flex-start;
    padding-top: 10px;
}

.contact-send-icon {
    margin-right: 8px;
    width: 18px;
}

.contact-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-divider-label {
    background-color: rgba(16, 16, 26, 1);
    border-radius: 4px;
}

.contact-email-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.contact-email-icon {
    margin-right: 10px;
}

.status-history-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.ticket-conversation-dialog {
    max-width: 800px;
    width: 90%;
}

.ticket-inline-label {
    display: inline;
}

.ticket-inline-value {
    display: inline;
    margin-left: 8px;
}

.chat-messages-scroll {
    height: 500px;
    overflow-y: auto;
    padding: 1rem;
}

.course-section-tall {
    min-height: 50vh;
}

.notification-modal-z {
    z-index: 1060;
}

.notification-modal-card {
    border: 2px solid #111;
    border-radius: 8px;
}

.notification-modal-header {
    border-bottom: 1px solid #eaeaea;
}

.notification-modal-title {
    color: #111;
}

.notification-modal-message {
    color: #111;
    font-family: Inter, sans-serif;
}

.favorite-heart-icon {
    width: 32px;
    height: 32px;
    color: #FF8040;
    margin-right: 12px;
    fill: #FF8040;
}

.course-section-spacer {
    margin-top: 0;
}

.legal-heading-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    opacity: 0.9;
}

.legal-file-icon {
    margin-right: 8px;
    color: #007BFF;
}

.legal-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.legal-term-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #007BFF;
}

.legal-alt-icon {
    margin-right: 8px;
    color: #28a745;
}

.invoice-chip {
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.invoice-chip-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #f4c430;
}

.invoice-chip-paid {
    background: rgba(25, 135, 84, 0.2);
    color: #4ade80;
}

.invoice-chip-failed {
    background: rgba(220, 53, 69, 0.2);
    color: #f87171;
}

.sepa-legal-text {
    color: #0a58ca;
}

.sepa-ok-spinner {
    display: none;
}

.sepa-status-bar {
    display: none;
}

#resource-list-container.d-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

#alreadyInCartModal .modal-content,
#courseDetailsModal .course-modal-content,
#emptyCartModal .modal-content,
#validationModal .modal-content,
.cookie-modal-content {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#alreadyInCartModal .modal-header,
#emptyCartModal .modal-header,
#validationModal .modal-header,
.cookie-modal-content .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#alreadyInCartModalLabel,
#emptyCartModalLabel,
#validationModalLabel {
    color: #111;
}

#alreadyInCartModalLabel i,
#emptyCartModalLabel i {
    color: #FF8040;
}

#alreadyInCartModal .modal-body h5 {
    color: #111;
    font-family: Inter, sans-serif;
}

#payment-success-alert i,
#payment-failed-alert i {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

#checkoutBtn i {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: text-bottom;
}

#emptyCartModal .modal-content {
    background-color: #1a1a1a;
}

#emptyCartModalLabel i {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

#emptyCartModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#quote-text {
    font-weight: 500;
    margin-bottom: 0;
}

#history-list {
    overflow: auto;
}

#chartSubtitle {
    margin: 5px 0 0 0;
    color: gray;
    font-size: 14px;
}

#sepaOkSpinner {
    display: none;
}

#sepaStatusBar {
    display: none;
}


.footer-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col {
    flex-grow: 1;
    flex-basis: 200px;
    min-width: 200px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-col ul li {
    padding: 0.35rem 0;
}

.footer-col ul li a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-col ul.icons {
    display: flex;
    gap: 1.5rem;
}

.footer-col ul.icons li {
    padding: 0;
}

.footer-col ul.icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.footer-col ul.icons a:hover {
    background-color: #FF8040;
    color: #ffffff;
    text-decoration: none;
}

.footer-col ul.icons a svg,
.footer-col ul.icons a img {
    width: 22px;
    height: 22px;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: #888;
}

#footerToggle {
    display: none;
}

/*
===================================================================
    HEADER
===================================================================
*/

header[th\:fragment="headerFragment"] {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-inner {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

.cta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    margin: 0;
    display: flex;
    gap: 10px;
}

.nav-and-cta nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-and-cta nav ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
}

header nav ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

header nav ul li a:hover {
    color: #ffffff;
}

@media (max-width: 1100px) {
    header nav ul li a span {
        display: none;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle .icon-close {
    display: none;
}

header.mobile-menu-open .icon-menu {
    display: none;
}

header.mobile-menu-open .icon-close {
    display: block;
}

@media (max-width: 980px) {
    .header-inner {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-and-cta {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        flex-direction: column;
        padding: 2rem;
        gap: 2rem;

        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    header.mobile-menu-open .nav-and-cta {
        transform: translateX(0);
    }

    header nav {
        width: 100%;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }

    header nav ul li a {
        font-size: 1.2rem;
    }

    header nav ul li a span {
        display: inline;
    }
}

/*
===================================================================
    STYLES FOR PAGE TITLES (H1)
===================================================================
*/

.page-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}


/*
===================================================================
    SIDEBAR (leftMenu)
===================================================================
*/


.workspace-container {
    align-items: flex-start;
}

.vertical-menu {
    flex-basis: 280px;
    flex-shrink: 0;
    position: sticky;
    top: calc(70px + 1.5rem);
    padding: 0;
    border-radius: 12px;
}

.vertical-menu .sidebar-inner {
    padding: 1.5rem;
}

.vertical-menu .sidebar-inner::-webkit-scrollbar {
    width: 6px;
}

.vertical-menu .sidebar-inner::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.vertical-menu .sidebar-inner::-webkit-scrollbar-track {
    background: transparent;
}

.vertical-menu .sidebar-inner {
    -ms-overflow-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.vertical-menu .menu-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vertical-menu .menu-title:first-child {
    margin-top: 0;
}

.vertical-menu .menu-title a {
    color: inherit;
    text-decoration: none;
}


.vertical-menu ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.vertical-menu ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    color: #c0c0c0;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vertical-menu ul li a:hover,
.vertical-menu ul li a.active-link {
    background-color: rgba(255, 128, 64, 0.15);
    color: white !important;
}

.vertical-menu ul li a.active-link {
    border-left: 4px solid #FF8040;
    padding-left: calc(0.75rem - 4px);
}

.mobile-drawer .vertical-menu ul li a.active-link {
    padding-left: calc(15px - 4px) !important;
}

.vertical-menu ul li a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.vertical-menu hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

/* --- Responsable for Sidebar --- */
@media (max-width: 767.98px) {
    .main-content.container-fluid {
        padding-top: calc(60px + 1rem) !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .vertical-menu {
        position: relative;
        top: auto;
        width: 100%;
        flex-basis: auto;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 1rem;
    }

    .vertical-menu .sidebar-inner {
        max-height: none;
        overflow-y: visible;
    }

    .workspace-content.ps-md-4 {
        padding-left: 0 !important;
    }
}


/*
===================================================================
    LOG IN PAGE STYLES
===================================================================
*/

.page-wrapper {
    padding-top: calc(70px + 1rem);
    padding-bottom: 3rem;
    flex-grow: 1;
}


.registration-card {
    padding: 1.5rem 2rem;
    color: white;
}

.registration-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
}

.registration-card .card-header h2 {
    color: white;
    margin: 0;
}


.glass-card .form-control {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: black;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.glass-card .form-control:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: #FF8040;
    box-shadow: 0 0 0 0.25rem rgba(255, 128, 64, 0.25);
    color: black;
}

.glass-card .form-control::placeholder {
    color: rgba(80, 80, 80, 0.67);
}

.glass-card label,
.glass-card .form-label {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.glass-card a {
    color: white;
    text-decoration: none;
}

.glass-card a:hover {
    color: white;
    text-decoration: none;
}

.glass-card nav ul li a {
    color: white;
}

.glass-card nav ul li a:hover {
    color: #FF8040;
}

/* Terms and conditions SECTION */
.terms {
    max-height: 150px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9em;
}

.terms p {
    color: white;
    margin-bottom: 0.5rem;
}

.terms strong {
    color: #FF8040;
}

.terms a {
    color: #FF8040;
}

.form-check-label {
    color: black;
}

.form-check-input {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.form-check-input:checked {
    background-color: #FF8040;
    border-color: #FF8040;
}

.form-check-input:focus {
    border-color: #FF8040;
    box-shadow: 0 0 0 0.25rem rgba(255, 128, 64, 0.25);
}


/* ===================================================================
    ALERTS (SUCCESS, ERROR)
===================================================================
*/


.registration-card .alert {
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    color: #FF8040;
    padding: 1rem;
    margin-bottom: 0;
}

.registration-card .alert-success {
    background-color: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.5);
}

.registration-card .alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.5);
}

.registration-card .alert + span > a {
    color: #FF8040;
    font-weight: 600;
    font-size: 1.1rem;
}


/* ===================================================================
    DETAILS MODAL STYLES
===================================================================
*/


.course-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.course-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.course-modal-content {
    width: 90%;
    max-width: 950px;
    background: rgba(20, 20, 35, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);

    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.course-modal-overlay.active .course-modal-content {
    transform: scale(1);
}

.course-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.course-modal-close:hover {
    color: #FF8040;
}

.btn-close {
    --bs-btn-close-bg: none !important;
    background: transparent !important;
    opacity: 0.75;
}

.btn-close::before {
    content: "\00d7";
    display: block;
    width: 1em;
    height: 1em;
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    color: currentColor;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close-white {
    filter: none !important;
    color: #fff;
}

.course-modal-grid {
    display: flex;
    flex-wrap: wrap;
}

.course-modal-left {
    flex: 1 1 400px;
    min-height: 350px;
    position: relative;
}

.course-modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-modal-right {
    flex: 1 1 400px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

#cmTitle {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.2;
}

.course-modal-badges {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
}

.course-modal-desc-box {
    flex-grow: 1;
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

.course-modal-desc-box::-webkit-scrollbar {
    width: 6px;
}

.course-modal-desc-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.course-modal-footer {
    margin-top: auto;
}

/*
===================================================================
    CONTACT.HTML
===================================================================
 */

.glass-card .form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.glass-card .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: #FF8040;
    box-shadow: 0 0 0 0.25rem rgba(255, 128, 64, 0.25);
}

.glass-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1;
}

.glass-card .form-control:-webkit-autofill,
.glass-card .form-control:-webkit-autofill:hover,
.glass-card .form-control:-webkit-autofill:focus,
.glass-card .form-control:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 30px rgba(30, 30, 40, 0.9) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.glass-card .form-check-input {
    background-image: none !important;
    position: relative;
}

.glass-card .form-check-input[type=checkbox] {
    --bs-form-check-bg-image: none;
}

.glass-card .form-check-input[type=checkbox]::after {
    content: "";
    position: absolute;
    left: 0.33rem;
    top: 0.08rem;
    width: 0.3rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 0.14rem 0.14rem 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.15s ease-in-out;
}

.glass-card .form-check-input[type=checkbox]:checked {
    background-color: #FF8040;
    border-color: #FF8040;
}

.glass-card .form-check-input[type=checkbox]:checked::after {
    transform: rotate(45deg) scale(1);
}

/* ===================================================================
    GLOBAL RESPONSIVE HELPERS
=================================================================== */
.show-only-mobile {
    display: none !important;
}

.mobile-nav-trigger {
    display: none;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

/* ===================================================================
    TABLETS & DESKTOP SMALL (< 980px)
=================================================================== */
@media (max-width: 980px) {
    /* hide text on navbar */
    header nav ul li.hide-on-mobile,
    header nav ul li a span.nav-text,
    .mobile-menu-toggle,
    .sidebar-wrapper,
    #leftMenuToggleBtn {
        display: none !important;
    }

    /* Center nav-and-cta */
    .header-inner {
        justify-content: center !important;
        display: flex;
        position: relative;
        width: 100%;
    }

    .nav-and-cta {
        position: static;
        width: 100%;
        display: flex;
        justify-content: center;
        background: transparent;
        transform: none;
        padding: 0 45px;
    }

    header nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header nav ul li a {
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .show-only-mobile, .mobile-nav-trigger {
        display: block !important;
    }
}

/* ===================================================================
    PHONES (< 768px)
=================================================================== */
@media (max-width: 768px) {
    /* 1. Workspace & Layout */
    .container-fluid.p-4 {
        padding: 1rem !important;
    }

    .workspace-content {
        padding-left: 0 !important;
        width: 100% !important;
    }

    .page-title, .container-fluid h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem !important;
    }

    /* 2. Banner & Index */
    #banner {
        padding: 3em 1.5em 2em 1.5em;
        min-height: 40vh;
        height: auto !important;
    }

    #banner h1 {
        font-size: 2em;
        white-space: normal;
    }

    #banner p {
        font-size: 1em;
    }

    /* 3. Course Cards mobile */
    #resource-list-container {
        grid-template-columns: 1fr !important;
    }

    .blog-card .meta {
        height: 180px;
    }

    .blog-card .description {
        padding: 2rem 1rem 0.3rem 1rem !important;
    }

    /* Padding-ul forțat de tine */
    .blog-card .description h1 {
        font-size: 1.1rem;
    }

    .blog-card .description h2 {
        font-size: 0.95rem;
    }

    .blog-card .description .content-swap-wrapper {
        height: 70px;
        margin-top: 0.5rem;
    }

    /* 4. Video & Media */
    .video-js, .vjs-tech, iframe, video {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    /* 5. Modals & Popups for mobile */
    .course-modal-content, .popup__content {
        width: 95% !important;
        height: auto;
        max-height: 90vh;
        flex-direction: column;
        overflow-y: auto;
    }

    .course-modal-left, .popup__left-pane {
        width: 100%;
        min-height: 200px;
        height: 250px;
    }

    .course-modal-right, .popup__right-pane {
        padding: 1.5rem;
        flex-basis: auto;
    }

    .course-modal-close {
        background: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }

    /* 6. Footer & Drawer Menu */
    .footer-columns {
        flex-direction: column;
        text-align: center;
    }

    .footer-col ul.icons {
        justify-content: center;
    }

    .mobile-drawer {
        z-index: 10001 !important;
        width: 280px !important;
        background: rgba(10, 10, 20, 0.98) !important;
        backdrop-filter: blur(25px);
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .offcanvas-backdrop {
        z-index: 10000 !important;
    }
}

#mobileWorkspaceMenu .vertical-menu ul li a {
    color: #ccc !important;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.1rem;
}

#mobileWorkspaceMenu .vertical-menu ul li a:hover {
    color: white !important;
    background: rgba(255, 128, 64, 0.2);
}

/*  shoppingCart.html (768px & 320px) */
@media (max-width: 768px) {
    .cart-item {
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 15px !important;
        padding: 1rem !important;
        display: grid !important;
        grid-template-columns: 80px 1fr auto;
        grid-template-rows: auto auto;
        gap: 12px;
        margin-bottom: 15px !important;
        align-items: start;
    }

    .cart-item-img {
        grid-row: 1 / span 2;
        width: 80px !important;
        height: 80px !important;
        border-radius: 10px !important;
        object-fit: cover;
    }

    .cart-item-details {
        grid-column: 2;
        min-width: 0;
    }

    .cart-item-details h5 {
        color: white;
        font-size: 1rem !important;
        font-weight: 600;
        margin-bottom: 4px !important;
        line-height: 1.2;
    }

    .cart-item-price {
        grid-column: 2;
        grid-row: 2;
        color: #FF8040 !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
    }

    .cart-item-remove .btn-remove {
        background: rgba(255, 76, 76, 0.15) !important;
        color: #ff4c4c !important;
        border-radius: 8px !important;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-summary-box {
        margin-top: 20px;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 15px !important;
        padding: 1.5rem !important;
    }

    /* --- under 350px --- */
    @media (max-width: 350px) {
        .cart-item {
            grid-template-columns: 65px 1fr 35px !important;
            padding: 0.7rem !important;
            gap: 8px !important;
        }

        .cart-item-img {
            width: 65px !important;
            height: 65px !important;
        }

        .cart-item-details h5 {
            font-size: 0.85rem !important;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 2 rows text */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .cart-item-price {
            font-size: 0.95rem !important;
        }

        .cart-item-remove .btn-remove {
            width: 28px !important;
            height: 28px !important;
        }
    }

    /* --- 3. UI Helpers --- */
    .container-fluid h2 {
        text-align: center;
        font-size: 1.5rem;
        margin-top: 10px;
    }
}

/* error.html */

.error-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.error-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 480px;
    width: 100%;
}

.error-card img {
    max-width: 200px;
    margin: 0 auto 1.5rem;
}

.error-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 0;
}

.error-msg {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.error-home-btn {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}