/* Base CV Styles */
body {
    margin: 0;
    padding: 0;
    top :0;
    left :0;
}

.app-logo {
    height: 36px;
    width: auto;
    display: block;
    margin-right: 8px;
}
.cv-preview {
    transition: all 0.3s ease;
    display : flex;
    justify-content : start;
}

/* Theme-specific styles will be applied dynamically */
.theme-hacker {
    --main-color: #00ff00;
    --bg-color: #0a0a0a;
    --secondary-color: #008f00;
    --accent-bg: #001500;
}

.theme-professional {
    --main-color: #2c3e50;
    --bg-color: #ffffff;
    --secondary-color: #34495e;
    --accent-bg: #f8f9fa;
}

.theme-modern {
    --main-color: #6c5ce7;
    --bg-color: #ffffff;
    --secondary-color: #a29bfe;
    --accent-bg: #f0f0ff;
}

.theme-dark {
    --main-color: #bb86fc;
    --bg-color: #121212;
    --secondary-color: #03dac6;
    --accent-bg: #1e1e1e;
}

/* Glitch effect (only for hacker theme) */
.glitch-enabled .glitch-container {
    position: relative;
    overflow: hidden;
}

.glitch-enabled .glitch-image {
    position: relative;
}

    .glitch-enabled .glitch-image::before,
    .glitch-enabled .glitch-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: inherit;
        opacity: 0.5;
    }

    .glitch-enabled .glitch-image::before {
        animation: glitch 0.4s cubic-bezier(.25, .46, .45, .94) both infinite;
    }

    .glitch-enabled .glitch-image::after {
        animation: glitch 0.4s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
    }

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}
















.experience-item, .education-item {
    transition: all 0.2s ease;
    padding: 0.5rem !important;
    background-color: inherit;
}

    /*.experience-item:hover, .education-item:hover {
        background-color: var(--accent-bg);
    }*/

/*.contact-info {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

    .contact-info .mud-icon {
        font-size: 1rem;
        opacity: 0.8;
    }
*/
/* Optimisation de l'espace */
/*.cv-preview {
    line-height: 1.4;
}*/

    /*.cv-preview .mud-divider {
        margin: 0.5rem 0 !important;
    }

    .cv-preview .mud-typography {
        margin-bottom: 0.2rem;
    }*/

    /*.cv-preview .mud-paper {
        margin-bottom: 0.5rem !important;
    }*/

    /* Ajustement des marges pour le layout horizontal */
    .cv-preview .d-flex.justify-space-between {
        gap: 1rem;
    }

 /*   .cv-preview .mud-chip {
        margin: 0.1rem;
        height: 22px;
        font-size: 0.75rem;
    }
*/

//-------------------

.mud-tab-slider {
    transition: all 0.3s ease-in-out;
}

/*.mud-paper {
    transition: transform 0.2s ease-in-out;
}

    .mud-paper:hover {
        transform: translateY(-2px);
    }*/

/* Preview sticky positioning */
.preview-fixed {
    position: sticky;
    top: 1rem;
    transition: all 0.3s ease;
}

/* Progress bar animations */
.mud-progress-linear {
    transition: all 0.3s ease;
}

/* Form validation styles */
.field-validation-error {
    color: var(--mud-palette-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: var(--mud-palette-error) !important;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .preview-fixed {
        position: static;
    }
}

/* Print optimizations */
@media print {
    .mud-tabs,
    .mud-button,
    .mud-progress-linear,
    .mud-alert {
        display: none !important;
    }

    .preview-fixed {
        position: static;
    }
}