:root {
    --primary-color: #1F00CC;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --light-bg: #f8fafc;
    --dark-text: #101011;
    --medium-text: #64748b;
    --light-text: #94a3b8;
}

select,
.form-control {
    -moz-appearance: auto;
    -webkit-appearance: auto;
    appearance: auto;
}

.form-control::placeholder {
    color: var(--bs-secondary-color);
    opacity: 0.12;
}

.toast:not(:last-child) {
    margin-bottom: .75rem
}

.toast-border-primary .toast-body {
    color: #091057;
    border-bottom: 3px solid #091057
}

.toast-border-secondary .toast-body {
    color: #3577f1;
    border-bottom: 3px solid #3577f1
}

.toast-border-success .toast-body {
    color: #0ab39c;
    border-bottom: 3px solid #0ab39c
}

.toast-border-info .toast-body {
    color: #299cdb;
    border-bottom: 3px solid #299cdb
}

.toast-border-warning .toast-body {
    color: #f7b84b;
    border-bottom: 3px solid #f7b84b
}

.toast-border-danger .toast-body {
    color: #f06548;
    border-bottom: 3px solid #f06548
}

.toast-border-light .toast-body {
    color: #f3f6f9;
    border-bottom: 3px solid #f3f6f9
}

.toast-border-dark .toast-body {
    color: #212529;
    border-bottom: 3px solid #212529
}

.toastify {
    padding: 12px 16px;
    color: #fff;
    display: inline-block;
    -webkit-box-shadow: 0 3px 6px -1px rgba(0, 0, 0, .12), 0 10px 36px -4px rgba(77, 96, 232, .3);
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, .12), 0 10px 36px -4px rgba(77, 96, 232, .3);
    background: var(--vz-success);
    position: fixed;
    opacity: 0;
    -webkit-transition: all .4s cubic-bezier(.215, .61, .355, 1);
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 2147483647
}

.toastify.on {
    opacity: 1
}

.toast-close {
    opacity: .4;
    padding: 0 5px;
    position: relative;
    left: 4px;
    margin-left: 4px;
    border: none;
    background: 0 0;
    color: #fff
}

.toastify-right {
    right: 15px
}

.toastify-left {
    left: 15px
}

.toastify-left .toast-close {
    left: -4px;
    margin-left: 0;
    margin-right: 4px
}

.toastify-top {
    top: -150px
}

.toastify-bottom {
    bottom: -150px
}

.toastify-rounded {
    border-radius: 25px
}

.toastify-avatar {
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px
}

.toastify-center {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: -webkit-fit-content;
    max-width: fit-content;
    max-width: -moz-fit-content
}

@media only screen and (max-width:360px) {

    .toastify-left,
    .toastify-right {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: -webkit-fit-content;
        max-width: -moz-fit-content;
        max-width: fit-content
    }
}

#toast-container {
    top: 3%;
    opacity: 1;
}

#toast-container.toast-top-center .toast {
    border: transparent;
    width: 35%;
    opacity: 0.94;
    padding: 25px 15px 25px 62px;
    box-shadow: 0 0 12px rgba(153, 153, 153, 0.42);
}

#toast-container.toast-top-center .toast .toast-close-button {
    top: -22px;
}

#toast-container>div {
    width: 400px !important;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.45;
    color: var(--dark-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Roboto', sans-serif;
}

.hide {
    display: none !important;
}

.navbar-brand img {
    min-height: 60px;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-top: 60px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

.btn-primary.animat::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -80px;
    width: 60px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 10%,
            rgba(255, 255, 255, 0.16) 20%,
            rgba(255, 255, 255, 0.24) 35%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.24) 65%,
            rgba(255, 255, 255, 0.16) 80%,
            rgba(255, 255, 255, 0.08) 90%,
            transparent 100%);
    transform: skewX(-22deg);
    filter: blur(5px);
    opacity: 0.9;
    animation: wave-sweep 10s infinite;
    top: -10px;
    z-index: 900;
}

@keyframes wave-sweep {

    0%,
    70% {
        left: -80px;
    }

    90% {
        left: calc(100% + 80px);
    }

    100% {
        left: calc(100% + 80px);
    }
}

/*.btn-primary:hover::before {
    left: 100%;
}*/

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
    border-color: white;
}

.btn-outline-light.alb {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 6px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #e2e8f0;
    color: var(--medium-text);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--medium-text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 116, 139, 0.3);
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.badge-popular {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

.badge-comun {
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 12px;
    margin: 5px;
    display: inline-block;
    color: rgba(13, 110, 253, 0.88);
    border: 1px solid rgba(13, 110, 253, 0.8);
    background-color: #f7faff;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 24px;
    margin: 0 auto 20px;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 40px 20px;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.stats-counter {
    font-size: 3rem;
    font-weight: 800;
    color: white !important;
}

.certification-badge {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Apple-like mobile menu toggle */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .hamburger {
    width: 24px;
    height: 24px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
}

.navbar-toggler .hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.navbar-toggler .hamburger span:nth-child(1) {
    top: 6px;
}

.navbar-toggler .hamburger span:nth-child(2) {
    top: 12px;
}

.navbar-toggler .hamburger span:nth-child(3) {
    top: 18px;
}

.navbar-toggler[aria-expanded="true"] {
    background: rgba(0, 0, 0, 0.9);
}

.navbar-toggler[aria-expanded="true"] .hamburger span {
    background: white;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
}

/* User Menu Hover Dropdown */
.user-menu-dropdown {
    position: relative;
}

.user-menu-popup {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1050;
}

.user-menu-dropdown > a {
    border-radius: 10px;
    transition: all 0.2s ease;
}

.user-menu-dropdown:hover > a {
    background: #f5f3ff;
    color: #692EE6 !important;
}

.user-menu-dropdown:hover .user-menu-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-menu-header strong {
    font-size: 14px;
    color: #333;
}

.user-menu-header small {
    font-size: 12px;
    color: #888;
}

.user-menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.user-menu-item {
    display: block;
    padding: 10px 16px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
}

.user-menu-item:hover {
    background: #f5f3ff;
    color: #692EE6;
}

.user-menu-item.user-menu-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #692EE6;
    color: white;
    border-radius: 6px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: bounceIn 0.5s ease-out;
    padding: 4px 6px;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.section-padding {
    padding: 100px 0;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.text-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.text-slider .slide-text {
    border-right: 3px solid #fbbf24;
    animation: typing 2s steps(30, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #fbbf24;
    }
}

.abstract-shape {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.shape-container {
    width: 100%;
    height: 100%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    overflow: hidden;
    border-radius: 50px;
}

.shape-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: translate(-10%, -10%);
}

@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }

    .typewriter {
        font-size: 1.8rem;
    }

    /* Mobile menu layout: buttons on same line, language selector separate */
    .navbar-collapse .mobile-buttons-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e2e8f0;
    }

    .navbar-collapse .btn {
        margin: 0;
    }

    /* Mobile language selector on separate row */
    .mobile-lang-selector {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
}

.nav-link,
.nav-link a {
    position: relative;
    text-decoration: none;
    font-family: lato;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: inline-block;
    background-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
}

.nav-link:hover {
    color: #1F00CC;
    background-size: 100% 2px;
}

/* Right side - Liquid blob with images */
.hero-right {
    flex: 0 0 550px;
    height: 550px;
    position: relative;
}

.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background shape layer */
.liquid-shape-bg {
    position: absolute;
    width: 500px;
    height: 540px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 45% 55% 65% 35% / 55% 35% 65% 45%;
    animation: shapeShiftBg 20s ease-in-out infinite;
    transform-origin: center;
    opacity: 0.9;
}

/* Background shape morphing - opposite to main */
@keyframes shapeShiftBg {

    0%,
    100% {
        border-radius: 45% 55% 65% 35% / 55% 35% 65% 45%;
        transform: scale(1.05) rotate(0deg);
    }

    15% {
        border-radius: 38% 62% 73% 27% / 48% 32% 68% 52%;
        transform: scale(1) rotate(-2deg);
    }

    30% {
        border-radius: 55% 45% 58% 42% / 62% 38% 62% 38%;
        transform: scale(1.08) rotate(3deg);
    }

    45% {
        border-radius: 48% 52% 42% 58% / 39% 61% 39% 61%;
        transform: scale(1.02) rotate(-1deg);
    }

    60% {
        border-radius: 35% 65% 70% 30% / 50% 30% 70% 50%;
        transform: scale(1.06) rotate(2deg);
    }

    75% {
        border-radius: 60% 40% 55% 45% / 65% 45% 55% 35%;
        transform: scale(1.03) rotate(-3deg);
    }

    90% {
        border-radius: 42% 58% 48% 52% / 43% 57% 43% 57%;
        transform: scale(1.07) rotate(1deg);
    }
}

/* Abstract oval with liquid edges */
.liquid-shape {
    position: relative;
    width: 480px;
    height: 520px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 65% 35% 45% 55% / 45% 65% 35% 55%;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    animation: shapeShift 20s ease-in-out infinite;
    transform-origin: center;
}

/* Main shape morphing animation */
@keyframes shapeShift {

    0%,
    100% {
        border-radius: 65% 35% 45% 55% / 45% 65% 35% 55%;
        transform: scale(1) rotate(0deg);
    }

    15% {
        border-radius: 73% 27% 38% 62% / 52% 68% 32% 48%;
        transform: scale(1.03) rotate(2deg);
    }

    30% {
        border-radius: 58% 42% 55% 45% / 38% 62% 38% 62%;
        transform: scale(0.98) rotate(-3deg);
    }

    45% {
        border-radius: 42% 58% 48% 52% / 61% 39% 61% 39%;
        transform: scale(1.02) rotate(1deg);
    }

    60% {
        border-radius: 70% 30% 35% 65% / 50% 70% 30% 50%;
        transform: scale(0.99) rotate(-2deg);
    }

    75% {
        border-radius: 55% 45% 60% 40% / 35% 55% 45% 65%;
        transform: scale(1.01) rotate(3deg);
    }

    90% {
        border-radius: 48% 52% 42% 58% / 57% 43% 57% 43%;
        transform: scale(0.97) rotate(-1deg);
    }
}

/* Liquid edge animation - subtle movement only on borders */
.liquid-shape::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.1));
    border-radius: inherit;
    opacity: 0.6;
    animation: liquidEdge 12s ease-in-out infinite;
    z-index: -1;
}

/* Second layer for more complex liquid effect */
.liquid-shape::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 70%);
    border-radius: inherit;
    animation: liquidEdge2 15s ease-in-out infinite reverse;
    z-index: -2;
}

@keyframes liquidEdge {

    0%,
    100% {
        transform: scale(1) translateX(0) translateY(0);
        opacity: 0.6;
    }

    25% {
        transform: scale(1.05) translateX(5px) translateY(-3px);
        opacity: 0.7;
    }

    50% {
        transform: scale(0.95) translateX(-3px) translateY(5px);
        opacity: 0.5;
    }

    75% {
        transform: scale(1.02) translateX(3px) translateY(2px);
        opacity: 0.65;
    }
}

@keyframes liquidEdge2 {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }

    33% {
        transform: scale(1.08) rotate(120deg);
        opacity: 0.6;
    }

    66% {
        transform: scale(0.92) rotate(240deg);
        opacity: 0.5;
    }
}

/* Image inside the shape - enlarged to prevent margin issues */
.shape-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    /* Counter-rotation to keep image stable */
    animation: counterRotate 20s ease-in-out infinite;
}

@keyframes counterRotate {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    15% {
        transform: translate(-50%, -50%) scale(0.97) rotate(-2deg);
    }

    30% {
        transform: translate(-50%, -50%) scale(1.02) rotate(3deg);
    }

    45% {
        transform: translate(-50%, -50%) scale(0.98) rotate(-1deg);
    }

    60% {
        transform: translate(-50%, -50%) scale(1.01) rotate(2deg);
    }

    75% {
        transform: translate(-50%, -50%) scale(0.99) rotate(-3deg);
    }

    90% {
        transform: translate(-50%, -50%) scale(1.03) rotate(1deg);
    }
}

/* Floating particles for extra liquid feel */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    z-index: 10;
}

.particle:nth-child(3) {
    top: 15%;
    left: 10%;
    animation: particleFloat 18s infinite ease-in-out;
}

.particle:nth-child(4) {
    top: 75%;
    right: 20%;
    animation: particleFloat 22s infinite ease-in-out reverse;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    bottom: 25%;
    left: 15%;
    animation: particleFloat 25s infinite ease-in-out;
    animation-delay: 6s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    20% {
        transform: translate(40px, -50px) scale(1.5);
        opacity: 0.9;
    }

    40% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.4;
    }

    60% {
        transform: translate(50px, 40px) scale(1.2);
        opacity: 0.7;
    }

    80% {
        transform: translate(-40px, -30px) scale(0.9);
        opacity: 0.5;
    }
}

.fw-heavy {
    font-weight: 800;
}

.btn-primary .fa-light,
.btn-primary .fa-strong,
.btn-primary .fa-regular {
    margin-right: 7px;
}

.buton-secundar {
    padding: 5px 7px;
    font-size: 1.2em;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.buton-secundar.light {
    border-color: transparent;
}

.schema_generata {
    position: relative;
    overflow: hidden;
}

.schema_generata .card-header {
    min-height: 150px;
    box-shadow: 4px 0px 20px 6px rgba(13, 110, 253, 0.23);
    margin: 0;
}

.schema_cos {
    background-color: #f4f8fe;
}

.schema_cos .elimina_schema {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #0d6efd;
    opacity: 0.5;
}

.schema_cos .elimina_schema:hover {
    opacity: 1;
}

.overlay_schema {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: #e2ebf9;
    z-index: 900;
    max-width: 100%;
}

.schema_generata.dezactivat .overlay_schema {
    display: block;
}

.schema_generata.dezactivat .card-header,
.schema_generata.dezactivat .card-body {
    filter: grayscale(1);
    opacity: 0.5;
}

/* Categorii principale - homepage cards */
.categorie_principala_card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.categorie_principala_card:hover {
    transform: translateY(-5px);
    color: inherit;
    text-decoration: none;
}
.categorie_principala_card .card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.categorie_principala_card:hover .card {
    box-shadow: 0 8px 30px rgba(31, 0, 204, 0.2);
}
.categorie_principala_card .card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.categorie_principala_card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.categorie_principala_card:hover .card-img-top {
    transform: scale(1.05);
}
.categorie_principala_card .card-img-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}
.categorie_principala_card .card-body {
    padding: 20px;
}

/* Filtru luni - scheme categorie */
.filtru-luni {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.filtru-luna-btn {
    border: 1px solid #dee2e6;
    background: #fff;
    color: var(--medium-text);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.filtru-luna-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0edff;
}
.filtru-luna-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.container-my-account {
    position: relative;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 80px;
}

.container-my-account::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/web/img/imagine-my-account.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: top;
    z-index: 1;
}

.container-my-account::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 0, 204, 0.85) 0%, rgba(124, 58, 237, 0.75) 100%);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 120px;
    margin-bottom: 60px;
}

.login-header {
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.login-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(31, 0, 204, 0.85) 0%, rgba(124, 58, 237, 0.75) 100%);
    z-index: 2;
}

.form-section {
    padding: 50px 40px;
}

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

.form-label {
    font-weight: 400;
    color: rgba(16, 16, 17, 0.69);
    margin-bottom: 5px;
}

.input-group {
    position: relative;
}

.form-control,
.form-select {
    border: 2px solid #eff2f7;
    border-radius: 10px !important;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fdfcff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control.icon,
.form-select.icon {
    padding: 12px 16px 12px 45px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-text);
    z-index: 10;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    margin-right: 15px;
    font-size: 18px;
}

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

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

.divider span {
    background: white;
    padding: 0 20px;
    color: var(--medium-text);
    font-size: 14px;
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--dark-text);
    border-radius: 12px;
}

@media (max-width: 768px) {

    .login-header,
    .form-section {
        padding: 30px 20px;
    }
}

.continut_text {
    z-index: 900;
}

.gri_deschis {
    background-color: #f1f0fc;
}

h1.special,
h2.special,
h3.special,
h4.special,
h5.special,
h6.special {
    color: #1f0bce;
}

@media (min-width: 992px) {
    .login-header {
        min-height: 500px;
    }
}

.titlu_data {
    color: #1F12CF;
    font-size: 1.5em;
    font-weight: 600;
}

/* Drag and Drop Upload Styles */
#dragDropArea {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
}

#dragDropArea:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

#dragDropArea.dragover {
    border-color: #667eea;
    background: #e6ecff;
    transform: scale(1.02);
}

#dragDropArea i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

#dragDropArea p {
    color: #718096;
    font-size: 16px;
    margin-bottom: 10px;
}

#dragDropArea .formats {
    color: #a0aec0;
    font-size: 14px;
}

#fileInput {
    display: none;
}

#fileList {
    margin-top: 30px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.file-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.file-item.uploading {
    opacity: 0.7;
}

.file-item.error {
    background: #fff5f5;
    border: 1px solid #fc8181;
}

.file-item.success {
    background: #f0fff4;
    border: 1px solid #68d391;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-icon {
    font-size: 32px;
    color: #667eea;
}

.file-name {
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 5px;
}

.file-size {
    font-size: 12px;
    color: #718096;
}

.file-remove {
    background: #fc8181;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove:hover {
    background: #f56565;
    transform: scale(1.1) rotate(90deg);
}

.file-remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #667eea;
    border-radius: 0 0 8px 8px;
    transition: width 0.3s ease;
    width: 0%;
}

.status-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.status-message.success {
    background: #48bb78;
}

.status-message.error {
    background: #f56565;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ajax-endpoints {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.ajax-endpoints h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 16px;
}

.ajax-endpoints code {
    background: #2d3748;
    color: #68d391;
    padding: 10px;
    border-radius: 4px;
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin-bottom: 10px;
}

.switch {
    position: relative;
    width: 57px;
    margin-left: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider_checkbox {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    max-width: 57px;
}

.slider_checkbox:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider_checkbox {
    background-color: #091057;
}

input:focus+.slider_checkbox {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider_checkbox:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider_checkbox.round {
    border-radius: 29px;
    height: 28px;
    line-height: 28px;
}

.slider_checkbox.round:before {
    border-radius: 45%;
}

.container_slider_checkbox .taburi_element:not(.activ) {
    /*opacity: 0.7;*/
}

.container_slider_checkbox:hover {
    opacity: 1;
}

.container_slider_checkbox>span {
    font-weight: 600;
    font-size: 1.4em;
    margin-right: 25px;
}

.text-albastru {
    color: #091057;
}

.text-albastru a {
    text-decoration: underline;
}

/* container gdpr */
.caseta_fixa_jos {
    bottom: 2%;
    position: fixed;
    right: 2%;
    width: 60%;
    z-index: 900;
    border: none;
    border-radius: 8px;
    background-color: rgba(214, 214, 211, 0.89);
}

@media (max-width:992px) {
    .caseta_fixa_jos {
        width: 90%;
    }
}

.caseta_fixa_jos p,
.caseta_fixa_jos a {
    /*color: #ffffff;*/
}

.caseta_fixa_jos a {
    text-decoration: underline;
}

.container_fade {
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed rgba(31, 11, 206, 0.36);
    background-color: #f7fafc;
}

.container_fade input,
.container_fade select,
.container_fade textarea {
    background-color: #ffffff;
}

.caseta_informatii {
    position: relative;
}

.caseta_informatii h5 {
    color: #1f0bce;
}

.container_notificare {
    background-color: #f1f0fc;
    border-radius: 12px;
    padding: 10px;
    max-width: 85%;
}

.container_notificare.blank {
    background-color: transparent;
}

.container_notificare .fa-light,
.container_notificare .fa-strong,
.container_notificare .fa-regular {
    font-size: 4em;
    color: #6ca814;
}

.container_notificare.eroare .fa-light,
.container_notificare.eroare .fa-strong,
.container_notificare.eroare .fa-regular {
    font-size: 4em;
    color: red;
}

.container_center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.container_notificare h5 {
    line-height: 1.5;
}

.center_horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: RGBA(200, 225, 255, 0.93);
    display: none;
}

.overlay.show {
    display: initial;
}

.overlay__inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.overlay__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 85px;
    height: 85px;
    display: inline-block;
    border-width: 4px;
    border-color: #0F1C6E;
    border-top-color: transparent;
    animation: spin 1.6s infinite linear;
    border-radius: 100%;
    border-style: solid;
}

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

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 16px 16px 0 0;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--primary-color);
    color: white;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-completed {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success-color);
}

.status-processing {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning-color);
}

.status-pending {
    background: rgba(100, 116, 139, 0.1);
    color: var(--medium-text);
}

.main-content {
    margin-top: 76px;
    padding: 40px 0;
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--dark-text);
    border-radius: 12px;
}

.alert-warning {
    background: rgb(255, 246, 213);
    border: 1px solid rgb(172, 147, 15);
    color: var(--dark-text);
    border-radius: 12px;
}

.alert.icon {
    position: relative;
    padding-left: 90px;
}

.alert-warning .icon {
    position: absolute;
    font-size: 40px;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ac930f;
    opacity: 0.65;
}

.card.default .card-header {
    background-color: #f8f7fd;
}

.width-full {
    width: 100%;
}

.card.special .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    padding: 15px 25px;
    color: #ffffff;
}

.card.special .card-body {
    padding: 1.5% 6%;
}

.nume_companie {
    color: initial;
    font-size: 1.4em;
    text-align: center;
}

.form-control::placeholder,
.form-group input::placeholder {
    color: #7c81ab;
    opacity: 0.12;
    font-weight: 200;
}

.label-default,
.label-special {
    margin-left: 10px;
    padding: 8px 12px;
    background-color: #f6f6f6;
    border-radius: 7px;
}

.caseta_rotunda {
    position: relative;
    display: inline-block;
    border-right: 39px;
    background-color: #f3f6ff;
    padding: 10px 10px;
    margin-bottom: 15px;
    border-radius: 20px;
    border: 2px solid #c0c9f5;
    width: 100%;
    overflow: hidden;
}

.caseta_produs_cumparare {
    position: relative;
    display: inline-block;
    border-right: 39px;
    background-color: #e8e7fa;
    padding: 15px 15px;
    padding-left: 140px;
    margin-bottom: 25px;
    cursor: pointer;
    border-radius: 39px;
    border: 1px solid #f8f9fe;
    overflow: hidden;
}

.caseta_produs_cumparare.checkout {
    background-color: #f3f6ff;
    border: 2px solid #c0c9f5;
    overflow: initial;
    cursor: initial;
}

.caseta_produs_cumparare .sterge {
    display: none;
    position: absolute;
    top: -10px;
    right: -16px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #1d40d6;
    color: #ffffff;
    padding: 3px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
    font-size: 1.3em;
}

.caseta_produs_cumparare.checkout:hover .sterge {
    display: block;
}

.caseta_produs_cumparare.activ {
    border-color: #d7e0cb;
}

.caseta_produs_cumparare .continut {
    padding: 5px;
}

.caseta_produs_cumparare .container_bifa {
    position: absolute;
    height: 100%;
    width: 130px;
    left: -7px;
    top: 0;
    overflow: hidden;
    background-color: #f8f9fe;
    z-index: 9;
}

.caseta_produs_cumparare .imagine {
    position: absolute;
    height: 100%;
    width: 130px;
    left: 0;
    top: 0;
    border-bottom-left-radius: 39px;
    border-top-left-radius: 39px;
    overflow: hidden;
    z-index: 10;
}

.caseta_produs_cumparare .container_bifa .bifa_gri,
.caseta_produs_cumparare .container_bifa .bifa_verde {
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    left: 20px;
    display: none;
}

.caseta_produs_cumparare:not(.activ) .container_bifa .bifa_gri,
.caseta_produs_cumparare.activ .container_bifa .bifa_verde {
    display: initial;
}

.caseta_produs_cumparare .imagine img {
    height: 100%;
    max-width: initial;
    position: absolute;
    left: -42%;
}

.caseta_produs_cumparare .titlu {
    font-weight: bold;
    font-size: 1.2em;
}

.caseta_produs_cumparare .subtitlu {
    font-weight: 200;
}

.caseta_produs_cumparare.iso-9001 {
    background-color: #B7E2EF;
}

.caseta_produs_cumparare.iso-9001 .titlu,
.caseta_produs_cumparare.iso-9001 .subtitlu {
    color: #046988;
}

.caseta_produs_cumparare.iso-14001 {
    background-color: #CBE7BE;
}

.caseta_produs_cumparare.iso-14001 .titlu,
.caseta_produs_cumparare.iso-14001 .subtitlu {
    color: #287B01;
}

.caseta_produs_cumparare.iso-45001 {
    background-color: #E1D3FA;
}

.caseta_produs_cumparare.iso-45001 .titlu,
.caseta_produs_cumparare.iso-45001 .subtitlu {
    color: #2A0370;
}

.caseta_produs_cumparare.iso-27001 {
    background-color: #D4DBF6;
}

.caseta_produs_cumparare.iso-27001 .titlu,
.caseta_produs_cumparare.iso-27001 .subtitlu {
    color: #00104D;
}

.caseta_produs_cumparare.iso-22000 {
    background-color: #F2E2D2;
}

.caseta_produs_cumparare.iso-22000 .titlu,
.caseta_produs_cumparare.iso-22000 .subtitlu {
    color: #673300;
}

.caseta_produs_cumparare.iso-37001 {
    background-color: #EAE3F3;
}

.caseta_produs_cumparare.iso-37001 .titlu,
.caseta_produs_cumparare.iso-37001 .subtitlu {
    color: #30016B;
}

.caseta_produs_cumparare.iso-50001 {
    background-color: #E5EFF1;
}

.caseta_produs_cumparare.iso-50001 .titlu,
.caseta_produs_cumparare.iso-50001 .subtitlu {
    color: #015D70;
}

.fara_height {
    height: initial;
}

.card.special input,
.card.special select,
.card.special textarea {
    width: 100%;
    height: 53px;
    padding: 0 16px;
    border: 1px solid #e7ecfa;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.15s ease;
    background-color: #eef2ff;
    padding: 10px 32px;
}

/* --- 4. ORDER CARDS --- */
.order-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    /* rounded-lg */
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.order-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-md */
}

.status-strip {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
}

.order-header {
    padding: 1.25rem 1.5rem;
    /* p-5 */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    transition: background-color 0.2s;
}

/* Accordion Expansion */
.scheme-content {
    display: none;
    background-color: rgba(248, 250, 252, 0.5);
    /* slate-50/50 */
    border-top: 1px solid var(--slate-100);
    padding: 1.5rem;
    padding-left: 5rem;
    /* md:pl-20 indentation */
}

/* Tables & Inputs */
.table-custom thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--slate-500);
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: white;
    border-bottom: 1px solid var(--slate-100);
}

.table-custom tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.lab-input {
    border: 1px solid var(--slate-200);
    border-radius: 4px;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    width: 100%;
    transition: all 0.2s;
}

.lab-input:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    /* focus ring */
    background-color: white;
}

select.lab-input {
    background-color: var(--slate-50);
}

/* --- 5. BADGES & BUTTONS --- */
.badge-pill {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
    border-radius: 9999px;
    /* rounded-full */
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon_comanda {
    width: 48px;
    height: 48px;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    color: #2563eb;
    border-radius: 50%;
    text-align: center;
    line-height: 48px;
}

/* --- DOCUMENTE PARTICIPARE --- */
.documents-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Header */
.documents-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.documents-header .header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.documents-header .header-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.documents-header .header-text h4 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
}

.documents-header .header-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--medium-text);
}

.documents-header .header-badge span {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Documents List */
.documents-list {
    padding: 8px;
}

/* Document Card */
.doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    margin: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(31, 0, 204, 0.12);
    transform: translateY(-2px);
}

/* Document Icon */
.doc-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.doc-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.doc-card:hover .doc-icon {
    transform: scale(1.08);
}

.doc-type-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Document Content */
.doc-content {
    flex: 1;
    min-width: 0;
}

.doc-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.4;
}

.doc-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--medium-text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doc-filename {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8125rem;
    color: #94a3b8;
}

/* Document Actions */
.doc-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.doc-btn i {
    font-size: 1.125rem;
}

.doc-btn-view {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid #e2e8f0;
}

.doc-btn-view:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #334155;
    border-color: #cbd5e1;
}

.doc-btn-download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31, 0, 204, 0.25);
}

.doc-btn-download:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 0, 204, 0.35);
}

/* Empty State */
.documents-empty {
    text-align: center;
    padding: 80px 24px;
}

.documents-empty .empty-illustration {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    color: #94a3b8;
    font-size: 42px;
}

.documents-empty h5 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
}

.documents-empty p {
    margin: 0;
    color: var(--medium-text);
    font-size: 1rem;
}

/* Responsive Design for Document Cards */
@media (max-width: 991px) {
    .doc-card {
        flex-wrap: wrap;
    }

    .doc-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid #f1f5f9;
    }
}

@media (max-width: 575px) {
    .doc-card {
        padding: 16px;
        margin: 6px;
    }

    .doc-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .doc-btn {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }

    .doc-btn span {
        display: none;
    }

    .doc-btn i {
        margin: 0;
    }
}

/* Document Preview */
.document-preview-container {
    width: 100%;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-preview-iframe {
    width: 100%;
    height: 75vh;
    min-height: 600px;
    border: none;
    border-radius: 0;
    background: #fff;
}

.document-preview-image {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Spinner */
.spinner-wrapper {
    font-size: 48px;
    color: var(--primary-color);
}

.ph-spin {
    animation: ph-spin 1s linear infinite;
}

@keyframes ph-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Modal Styles */
#modal_vizualizare_document .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
}

#modal_vizualizare_document .modal-body {
    padding: 0;
    background: #f8fafc;
    height: 75vh;
    min-height: 600px;
}

#modal_vizualizare_document .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

#modal_vizualizare_document .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-bottom: none;
    padding: 16px 24px;
}

#modal_vizualizare_document .modal-header .modal-title {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
}

#modal_vizualizare_document .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#modal_vizualizare_document .modal-header .btn-close:hover {
    opacity: 1;
}

#modal_vizualizare_document .modal-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 24px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .action-btn span {
        display: inline;
    }
}

@media (max-width: 767px) {
    .documents-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-item {
        border-right: none;
    }

    .document-item-inner {
        flex-wrap: wrap;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f1f5f9;
        opacity: 1;
    }

    .action-btn span {
        display: inline;
    }
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
    margin-top: 80px;
}
.site-footer .footer-logo {
    height: 36px;
    filter: brightness(0) invert(1);
}
.site-footer .footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
}
.site-footer .footer-heading {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .footer-links li {
    margin-bottom: 10px;
}
.site-footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.site-footer .footer-links a:hover {
    color: #ffffff;
}
.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .footer-contact li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.site-footer .footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer .footer-contact a:hover {
    color: #ffffff;
}
.site-footer .footer-contact i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}
.site-footer .footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #1e293b;
    text-align: center;
}
.site-footer .footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}