/* Base Variables */
:root {
    /* Colors */
    --primary-color: #3f51b5;
    --primary-dark: #303f9f;
    --primary-light: #c5cae9;
    --accent-color: #ff4081;
    --accent-dark: #c51162;
    
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --info-color: #2196f3;
    
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-hint: #9e9e9e;
    
    --surface-color: #ffffff;
    --card-color: #ffffff;
    --divider-color: #e0e0e0;
    --backdrop-color: rgba(0, 0, 0, 0.5);
    
    --bg-color: #f5f5f5;
    --hover-color: rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Shadows */
    --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-2: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-3: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
    --shadow-4: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-round: 50%;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index */
    --z-drawer: 100;
    --z-header: 200;
    --z-modal: 300;
    --z-toast: 400;
    --z-tooltip: 500;
    
    /* Layout */
    --header-height: 64px;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 0px;
    
    /* Theme specific */
    --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --primary-color: #5c6bc0;
    --primary-dark: #3f51b5;
    --primary-light: #8e99f3;
    
    --text-primary: #e0e0e0;
    --text-secondary: #adadad;
    --text-hint: #818181;
    
    --surface-color: #121212;
    --card-color: #1e1e1e;
    --divider-color: #424242;
    --backdrop-color: rgba(0, 0, 0, 0.7);
    
    --bg-color: #121212;
    --hover-color: rgba(255, 255, 255, 0.08);
    
    /* Shadows in dark mode */
    --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.7);
    --shadow-2: 0 3px 6px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-3: 0 10px 20px rgba(0, 0, 0, 0.7), 0 3px 6px rgba(0, 0, 0, 0.6);
    --shadow-4: 0 14px 28px rgba(0, 0, 0, 0.8), 0 10px 10px rgba(0, 0, 0, 0.7);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--theme-transition);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

textarea {
    resize: vertical;
}

ul, ol {
    list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2rem;
    font-weight: var(--font-weight-medium);
}

h2 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-medium);
}

h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
}

h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
}

p {
    margin-bottom: var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-md);
}

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

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.app-container.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    height: var(--header-height);
    background-color: var(--card-color);
    box-shadow: var(--shadow-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-lg);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    transition: var(--theme-transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
}

.logo i {
    font-size: 1.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Main Content */
main {
    flex: 1;
    padding: var(--spacing-lg) 0;
    transition: var(--theme-transition);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: var(--spacing-lg);
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-medium);
    text-transform: none;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-1);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: rgba(63, 81, 181, 0.05);
    box-shadow: var(--shadow-1);
}

.tertiary-btn {
    background-color: transparent;
    color: var(--text-secondary);
}

.tertiary-btn:hover {
    background-color: var(--hover-color);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-round);
    padding: 0;
    background-color: transparent;
    color: var(--text-secondary);
}

.icon-btn:hover {
    background-color: var(--hover-color);
    color: var(--text-primary);
}

.btn-wide {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: var(--spacing-sm);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Dropdowns */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-2);
    padding: var(--spacing-sm);
    z-index: var(--z-drawer);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    margin-top: var(--spacing-xs);
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
    text-align: left;
    gap: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.dropdown-item:hover {
    background-color: var(--hover-color);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--divider-color);
    margin: var(--spacing-sm) 0;
}

.saved-resumes-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 0 var(--spacing-sm);
}

/* Sidebar */
.sidebar {
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-1);
    height: calc(100vh - var(--header-height) - var(--spacing-lg) * 2);
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
    overflow: hidden;
    transition: var(--theme-transition);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.mobile-sidebar-toggle {
    display: none;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.sidebar-section {
    margin-top: var(--spacing-md);
}

.section-title {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
}

.section-title h3 {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0;
}

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

/* Templates Carousel */
.templates-carousel {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--card-color);
    border-radius: var(--border-radius-round);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-1);
    color: var(--text-primary);
    z-index: 1;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.templates-container {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding: var(--spacing-sm) var(--spacing-md);
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.templates-container::-webkit-scrollbar {
    display: none;
}

.template-card {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    scroll-snap-align: center;
}

.template-card:hover, .template-card.active {
    background-color: var(--primary-light);
}

.template-preview {
    width: 80px;
    height: 113px; /* Aspect ratio of 4:5.65 (A4) */
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: var(--transition-fast);
}

.template-card:hover .template-preview, .template-card.active .template-preview {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.template-card span {
    font-size: 0.85rem;
    text-align: center;
}

/* Template Preview Images - SVG based */
.professional-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="0" y="0" width="100" height="20" fill="%233f51b5"/><rect x="10" y="7" width="50" height="6" fill="white"/><rect x="10" y="26" width="80" height="2" fill="%23212121"/><rect x="10" y="30" width="70" height="1" fill="%23757575"/><rect x="10" y="33" width="80" height="1" fill="%23757575"/><rect x="10" y="40" width="20" height="3" fill="%23212121"/><rect x="10" y="45" width="80" height="1" fill="%23757575"/><rect x="10" y="48" width="80" height="1" fill="%23757575"/><rect x="10" y="51" width="60" height="1" fill="%23757575"/><rect x="10" y="58" width="20" height="3" fill="%23212121"/><rect x="10" y="63" width="40" height="1" fill="%23212121"/><rect x="10" y="66" width="70" height="1" fill="%23757575"/><rect x="10" y="69" width="60" height="1" fill="%23757575"/><rect x="10" y="76" width="20" height="3" fill="%23212121"/><rect x="10" y="81" width="80" height="1" fill="%23757575"/><rect x="10" y="84" width="70" height="1" fill="%23757575"/><rect x="10" y="87" width="60" height="1" fill="%23757575"/><rect x="10" y="94" width="20" height="3" fill="%23212121"/><circle cx="13" cy="101" r="2" fill="%233f51b5"/><circle cx="24" cy="101" r="2" fill="%233f51b5"/><circle cx="35" cy="101" r="2" fill="%233f51b5"/><circle cx="46" cy="101" r="2" fill="%233f51b5"/></svg>');
    background-size: cover;
}

.creative-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="0" y="0" width="33" height="141.4" fill="%233f51b5"/><circle cx="16.5" cy="16.5" r="10" fill="white"/><rect x="8" y="35" width="17" height="2" fill="white"/><rect x="8" y="45" width="17" height="1" fill="white"/><rect x="8" y="48" width="17" height="1" fill="white"/><rect x="8" y="51" width="17" height="1" fill="white"/><rect x="8" y="60" width="10" height="2" fill="white"/><circle cx="11" cy="66" r="2" fill="white"/><circle cx="18" cy="66" r="2" fill="white"/><circle cx="25" cy="66" r="2" fill="white"/><rect x="40" y="10" width="50" height="5" fill="%23212121"/><rect x="40" y="20" width="30" height="2" fill="%23757575"/><rect x="40" y="24" width="50" height="1" fill="%23757575"/><rect x="40" y="27" width="50" height="1" fill="%23757575"/><rect x="40" y="30" width="30" height="1" fill="%23757575"/><rect x="40" y="37" width="20" height="3" fill="%23212121"/><rect x="40" y="42" width="40" height="1" fill="%23212121"/><rect x="40" y="45" width="50" height="1" fill="%23757575"/><rect x="40" y="48" width="50" height="1" fill="%23757575"/><rect x="40" y="55" width="20" height="3" fill="%23212121"/><rect x="40" y="60" width="50" height="1" fill="%23757575"/><rect x="40" y="63" width="50" height="1" fill="%23757575"/><rect x="40" y="66" width="40" height="1" fill="%23757575"/></svg>');
    background-size: cover;
}

.minimal-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="10" y="10" width="80" height="6" fill="%23212121"/><rect x="10" y="20" width="50" height="2" fill="%23757575"/><rect x="10" y="26" width="80" height="1" fill="%23e0e0e0"/><rect x="10" y="35" width="20" height="3" fill="%23212121"/><rect x="10" y="42" width="80" height="1" fill="%23757575"/><rect x="10" y="45" width="60" height="1" fill="%23757575"/><rect x="10" y="48" width="70" height="1" fill="%23757575"/><rect x="10" y="55" width="20" height="3" fill="%23212121"/><rect x="10" y="62" width="40" height="1" fill="%23212121"/><rect x="10" y="65" width="80" height="1" fill="%23757575"/><rect x="10" y="68" width="70" height="1" fill="%23757575"/><rect x="10" y="75" width="20" height="3" fill="%23212121"/><rect x="10" y="82" width="20" height="1" fill="%23757575"/><rect x="10" y="85" width="20" height="1" fill="%23757575"/><rect x="40" y="82" width="20" height="1" fill="%23757575"/><rect x="40" y="85" width="20" height="1" fill="%23757575"/><rect x="70" y="82" width="20" height="1" fill="%23757575"/><rect x="70" y="85" width="20" height="1" fill="%23757575"/><rect x="10" y="95" width="20" height="3" fill="%23212121"/><rect x="10" y="102" width="30" height="1" fill="%23757575"/><rect x="50" y="102" width="30" height="1" fill="%23757575"/></svg>');
    background-size: cover;
}

.modern-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="0" y="0" width="100" height="30" fill="%233f51b5"/><rect x="10" y="10" width="60" height="5" fill="white"/><rect x="10" y="17" width="40" height="2" fill="white"/><rect x="10" y="35" width="20" height="3" fill="%23212121"/><rect x="10" y="42" width="80" height="1" fill="%23757575"/><rect x="10" y="45" width="80" height="1" fill="%23757575"/><rect x="10" y="48" width="60" height="1" fill="%23757575"/><rect x="10" y="55" width="20" height="3" fill="%23212121"/><rect x="10" y="60" width="20" height="2" fill="%233f51b5"/><rect x="10" y="65" width="80" height="1" fill="%23757575"/><rect x="10" y="68" width="70" height="1" fill="%23757575"/><rect x="10" y="71" width="80" height="1" fill="%23757575"/><rect x="10" y="78" width="20" height="3" fill="%23212121"/><rect x="10" y="85" width="80" height="1" fill="%23757575"/><rect x="10" y="88" width="70" height="1" fill="%23757575"/><rect x="10" y="91" width="75" height="1" fill="%23757575"/></svg>');
    background-size: cover;
}

.executive-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="0" y="0" width="35" height="6" fill="%233f51b5"/><rect x="40" y="0" width="60" height="6" fill="%23212121"/><rect x="10" y="10" width="80" height="5" fill="%23212121"/><rect x="10" y="20" width="35" height="2" fill="%23757575"/><rect x="0" y="25" width="100" height="1" fill="%233f51b5"/><rect x="10" y="32" width="20" height="3" fill="%233f51b5"/><rect x="10" y="38" width="80" height="1" fill="%23757575"/><rect x="10" y="41" width="70" height="1" fill="%23757575"/><rect x="10" y="44" width="75" height="1" fill="%23757575"/><rect x="10" y="51" width="20" height="3" fill="%233f51b5"/><rect x="10" y="58" width="80" height="1" fill="%23757575"/><rect x="10" y="61" width="80" height="1" fill="%23757575"/><rect x="10" y="64" width="60" height="1" fill="%23757575"/><rect x="10" y="71" width="20" height="3" fill="%233f51b5"/><rect x="10" y="78" width="20" height="1" fill="%23757575"/><rect x="10" y="81" width="20" height="1" fill="%23757575"/><rect x="40" y="78" width="20" height="1" fill="%23757575"/><rect x="40" y="81" width="20" height="1" fill="%23757575"/><rect x="70" y="78" width="20" height="1" fill="%23757575"/><rect x="70" y="81" width="20" height="1" fill="%23757575"/></svg>');
    background-size: cover;
}

.tech-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="%23f5f5f5"/><rect x="5" y="5" width="90" height="131.4" fill="white"/><rect x="5" y="5" width="30" height="131.4" fill="%23212121"/><rect x="10" y="15" width="20" height="5" fill="white"/><rect x="10" y="25" width="20" height="2" fill="%233f51b5"/><rect x="10" y="32" width="20" height="1" fill="white"/><rect x="10" y="35" width="20" height="1" fill="white"/><rect x="10" y="38" width="15" height="1" fill="white"/><rect x="10" y="45" width="15" height="2" fill="%233f51b5"/><rect x="10" y="50" width="10" height="1" fill="white"/><rect x="10" y="53" width="10" height="1" fill="white"/><rect x="10" y="56" width="10" height="1" fill="white"/><rect x="10" y="63" width="15" height="2" fill="%233f51b5"/><circle cx="13" cy="70" r="2" fill="white"/><circle cx="20" cy="70" r="2" fill="white"/><circle cx="27" cy="70" r="2" fill="white"/><rect x="40" y="15" width="50" height="5" fill="%23212121"/><rect x="40" y="25" width="20" height="3" fill="%233f51b5"/><rect x="40" y="32" width="50" height="1" fill="%23757575"/><rect x="40" y="35" width="50" height="1" fill="%23757575"/><rect x="40" y="38" width="40" height="1" fill="%23757575"/><rect x="40" y="45" width="20" height="3" fill="%233f51b5"/><rect x="40" y="52" width="50" height="1" fill="%23757575"/><rect x="40" y="55" width="50" height="1" fill="%23757575"/><rect x="40" y="58" width="30" height="1" fill="%23757575"/><rect x="40" y="65" width="20" height="3" fill="%233f51b5"/><rect x="40" y="72" width="15" height="1" fill="%23757575"/><rect x="40" y="75" width="15" height="1" fill="%23757575"/><rect x="60" y="72" width="15" height="1" fill="%23757575"/><rect x="60" y="75" width="15" height="1" fill="%23757575"/><rect x="40" y="85" width="20" height="3" fill="%233f51b5"/><rect x="40" y="92" width="50" height="1" fill="%23757575"/><rect x="40" y="95" width="40" height="1" fill="%23757575"/></svg>');
    background-size: cover;
}

.academic-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="30" y="5" width="40" height="1" fill="%23757575"/><rect x="20" y="10" width="60" height="5" fill="%23212121"/><rect x="30" y="18" width="40" height="2" fill="%23757575"/><rect x="5" y="25" width="90" height="1" fill="%23e0e0e0"/><rect x="10" y="30" width="20" height="3" fill="%233f51b5"/><rect x="10" y="36" width="80" height="1" fill="%23757575"/><rect x="10" y="39" width="80" height="1" fill="%23757575"/><rect x="10" y="42" width="60" height="1" fill="%23757575"/><rect x="10" y="49" width="20" height="3" fill="%233f51b5"/><rect x="10" y="54" width="80" height="1" fill="%23757575"/><rect x="15" y="57" width="70" height="1" fill="%23757575"/><rect x="15" y="60" width="40" height="1" fill="%23757575"/><rect x="10" y="67" width="20" height="3" fill="%233f51b5"/><rect x="10" y="74" width="80" height="1" fill="%23757575"/><rect x="15" y="77" width="70" height="1" fill="%23757575"/><rect x="15" y="80" width="75" height="1" fill="%23757575"/><rect x="10" y="87" width="20" height="3" fill="%233f51b5"/><rect x="10" y="94" width="20" height="1" fill="%23212121"/><rect x="10" y="97" width="40" height="1" fill="%23757575"/><rect x="10" y="100" width="40" height="1" fill="%23757575"/></svg>');
    background-size: cover;
}

.elegant-preview {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 141.4"><rect x="0" y="0" width="100" height="141.4" fill="white"/><rect x="10" y="10" width="80" height="6" fill="%23212121"/><rect x="10" y="20" width="40" height="2" fill="%23757575"/><rect x="5" y="28" width="90" height="0.5" fill="%233f51b5"/><rect x="40" y="32" width="20" height="0.5" fill="%233f51b5"/><rect x="10" y="38" width="20" height="3" fill="%23212121"/><rect x="10" y="45" width="80" height="1" fill="%23757575"/><rect x="10" y="48" width="80" height="1" fill="%23757575"/><rect x="10" y="51" width="60" height="1" fill="%23757575"/><rect x="10" y="58" width="20" height="3" fill="%23212121"/><rect x="10" y="65" width="80" height="1" fill="%23757575"/><rect x="10" y="68" width="70" height="1" fill="%23757575"/><rect x="10" y="71" width="50" height="1" fill="%23757575"/><rect x="10" y="78" width="20" height="3" fill="%23212121"/><rect x="12" y="85" width="16" height="1" fill="%23757575"/><rect x="12" y="88" width="16" height="1" fill="%23757575"/><rect x="32" y="85" width="16" height="1" fill="%23757575"/><rect x="32" y="88" width="16" height="1" fill="%23757575"/><rect x="52" y="85" width="16" height="1" fill="%23757575"/><rect x="52" y="88" width="16" height="1" fill="%23757575"/><rect x="72" y="85" width="16" height="1" fill="%23757575"/><rect x="72" y="88" width="16" height="1" fill="%23757575"/><rect x="5" y="98" width="90" height="0.5" fill="%233f51b5"/><rect x="40" y="102" width="20" height="0.5" fill="%233f51b5"/></svg>');
    background-size: cover;
}

/* Customize Options */
.customize-options {
    padding: var(--spacing-sm) 0;
}

.customize-option {
    margin-bottom: var(--spacing-md);
}

.customize-option label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: var(--border-radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    border: 2px solid transparent;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--text-primary);
}

.color-swatch.custom {
    overflow: hidden;
    background: linear-gradient(135deg, #ff9800 0%, #f44336 25%, #9c27b0 50%, #3f51b5 75%, #009688 100%);
}

.color-swatch.custom input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.slider {
    flex: 1;
    height: 4px;
    background-color: var(--divider-color);
    border-radius: var(--border-radius-round);
    appearance: none;
    outline: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Sections List */
.sections-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.section-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    gap: var(--spacing-md);
    position: relative;
}

.section-item:hover {
    background-color: var(--hover-color);
}

.section-item.active {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.section-item i {
    width: 20px;
    text-align: center;
}

.section-item .section-status {
    margin-left: auto;
    color: var(--success-color);
}

.section-reorder-help {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
}

/* AI Tools */
.ai-tools {
    padding: var(--spacing-sm) 0;
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle-container {
    position: fixed;
    left: var(--spacing-md);
    bottom: var(--spacing-md);
    z-index: var(--z-drawer);
    display: none;
}

.mobile-sidebar-open {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-2);
}

/* Content Area */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.editor-container, .preview-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-1);
    overflow: hidden;
    height: calc(100vh - var(--header-height) - var(--spacing-lg) * 2);
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
    display: flex;
    flex-direction: column;
    transition: var(--theme-transition);
}

/* Section Navigation */
.section-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
}

.section-navigation h2 {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 1.25rem;
}

.navigation-btn {
    color: var(--text-primary);
}

.navigation-btn:disabled {
    color: var(--text-hint);
    background-color: transparent;
}

/* Editor Sections */
.editor-section {
    display: none;
    padding: var(--spacing-md);
    flex: 1;
    overflow-y: auto;
}

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

/* Form Elements */
.card {
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
}

.form-section-title {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-section-title h3 {
    font-size: 1.1rem;
    margin: 0;
}

.form-section-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-container input {
    padding-left: 32px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="month"],
input[type="color"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--divider-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--card-color);
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-light);
}

.form-feedback {
    font-size: 0.8rem;
    margin-top: var(--spacing-xs);
    color: var(--error-color);
    min-height: 16px;
}

.input-with-button {
    display: flex;
    gap: var(--spacing-xs);
}

.input-with-button input {
    flex: 1;
}

/* Checkbox and Switch */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--divider-color);
    transition: var(--transition-fast);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: var(--transition-fast);
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

.slider.round {
    border-radius: 10px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Field with Helper */
.field-with-helper {
    position: relative;
}

.text-helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.character-counter {
    transition: var(--transition-fast);
}

.character-counter.limit {
    color: var(--warning-color);
}

.character-counter.over {
    color: var(--error-color);
}

/* Rich Editor */
.rich-editor-container {
    border: 1px solid var(--divider-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.rich-editor-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-light);
}

.rich-editor-toolbar {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--divider-color);
}

.editor-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.editor-btn:hover {
    background-color: var(--hover-color);
    color: var(--text-primary);
}

.editor-btn.active {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.editor-separator {
    width: 1px;
    height: 20px;
    background-color: var(--divider-color);
    margin: 0 var(--spacing-xs);
}

.bullet-point-tips {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--divider-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.rich-editor {
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    padding: var(--spacing-sm);
    outline: none;
}

.rich-editor ul, .rich-editor ol {
    padding-left: var(--spacing-md);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.empty-state img {
    width: 120px;
    height: 120px;
    margin-bottom: var(--spacing-md);
}

.empty-state h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.empty-state-inline {
    padding: var(--spacing-md);
    text-align: center;
    color: var(--text-secondary);
}

/* Items Container */
.items-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.add-item-container {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-lg);
}

/* Skills Input */
.chips-input-container {
    border: 1px solid var(--divider-color);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-sm);
    transition: var(--transition-fast);
}

.chips-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-light);
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.chip .remove-chip {
    cursor: pointer;
    margin-left: 4px;
    font-size: 0.8rem;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.chip .remove-chip:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#skills-input, #interests-input {
    border: none;
    padding: var(--spacing-xs);
    width: 100%;
    background-color: transparent;
}

#skills-input:focus, #interests-input:focus {
    outline: none;
    box-shadow: none;
}

/* Skill Suggestions */
.skill-suggestions {
    margin-top: var(--spacing-md);
}

.skill-suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.skill-suggestions-header h4 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

.skill-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.suggestion-chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-chip:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.suggestion-chip i {
    margin-right: 4px;
    font-size: 0.8rem;
}

/* Skill Levels */
.skill-levels {
    margin-top: var(--spacing-md);
}

.skill-levels.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.skill-level-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.skill-name {
    width: 150px;
    font-size: 0.9rem;
}

.skill-rating {
    flex: 1;
    display: flex;
    gap: var(--spacing-xs);
}

.rating-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--divider-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.rating-dot.filled {
    background-color: var(--primary-color);
}

.rating-dot:hover {
    transform: scale(1.2);
}

/* Reference Options */
.reference-option-container {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.reference-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid var(--divider-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.reference-option:hover {
    background-color: var(--hover-color);
}

.reference-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

/* Preview Container */
.preview-header {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--divider-color);
}

.preview-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.preview-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.preview-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    position: relative;
}

.preview-content.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    background-color: var(--card-color);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
}

/* Resume Score */
.resume-score-container {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.resume-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-circle {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-xs);
}

.score-label {
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
}

.circular-chart {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: var(--divider-color);
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke: var(--primary-color);
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.percentage {
    fill: var(--text-primary);
    font-size: 0.25rem;
    text-anchor: middle;
    font-weight: var(--font-weight-bold);
}

.score-tips {
    flex: 1;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.tip-item i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* Resume Preview Styles */
#resume-preview {
    padding: var(--spacing-md);
}

.resume {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: white;
    box-shadow: var(--shadow-2);
    color: #212121; /* Always keep this black regardless of theme */
    position: relative;
    transition: transform 0.3s ease;
    transform-origin: top center;
}

.resume-preview-scaling {
    transform: scale(0.7);
}

.empty-section-placeholder {
    color: #9e9e9e;
    font-style: italic;
    font-size: 0.9em;
}

/* Professional Template */
.resume.professional .resume-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.resume.professional .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.resume.professional .section-title {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: var(--spacing-xs);
}

.resume.professional .resume-section {
    margin-bottom: var(--spacing-lg);
}

.resume.professional .job-item,
.resume.professional .education-item,
.resume.professional .project-item {
    margin-bottom: var(--spacing-md);
}

.resume.professional .job-header,
.resume.professional .edu-header,
.resume.professional .project-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.resume.professional .job-title,
.resume.professional .degree,
.resume.professional .project-name {
    font-weight: 500;
}

.resume.professional .company,
.resume.professional .institution {
    font-weight: 400;
}

.resume.professional .job-date,
.resume.professional .edu-date {
    color: #757575;
    font-size: 0.9em;
}

.resume.professional .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.resume.professional .skill-item {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 0.9em;
}

.resume.professional .references-available {
    font-style: italic;
    color: #757575;
}

/* Creative Template */
.resume.creative {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-lg);
}

.resume.creative .resume-sidebar {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-md);
    margin: calc(-1 * var(--spacing-lg));
    margin-right: 0;
    height: calc(100% + var(--spacing-lg) * 2);
}

.resume.creative .resume-main {
    padding: 0;
}

.resume.creative .contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.resume.creative .sidebar-section {
    margin-bottom: var(--spacing-lg);
}

.resume.creative .sidebar-title {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: var(--spacing-xs);
}

.resume.creative .resume-header {
    margin-bottom: var(--spacing-lg);
}

.resume.creative .section-title {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.resume.creative .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Minimal Template */
.resume.minimal {
    color: #212121;
}

.resume.minimal .resume-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.resume.minimal #preview-name {
    font-size: 1.8em;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.resume.minimal #preview-title {
    font-size: 1em;
    color: #757575;
    margin-bottom: var(--spacing-sm);
}

.resume.minimal .contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9em;
}

.resume.minimal .section-title {
    font-size: 1em;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume.minimal .resume-section {
    margin-bottom: var(--spacing-lg);
}

.resume.minimal .job-item,
.resume.minimal .education-item,
.resume.minimal .project-item {
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-lg);
}

.resume.minimal .job-item::before,
.resume.minimal .education-item::before,
.resume.minimal .project-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.resume.minimal .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.resume.minimal .skill-item {
    font-size: 0.9em;
    position: relative;
    padding-left: var(--spacing-md);
}

.resume.minimal .skill-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Modern Template */
.resume.modern {
    font-family: inherit;
}

.resume.modern .resume-header {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-lg);
    margin: calc(-1 * var(--spacing-lg));
    margin-bottom: var(--spacing-lg);
}

.resume.modern #preview-name {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
}

.resume.modern #preview-title {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
}

.resume.modern .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9em;
}

.resume.modern .section-title {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--primary-light);
}

.resume.modern .job-item,
.resume.modern .education-item,
.resume.modern .project-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px dashed #e0e0e0;
}

.resume.modern .job-title,
.resume.modern .degree,
.resume.modern .project-name {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.resume.modern .company,
.resume.modern .institution {
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
}

.resume.modern .skills-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.resume.modern .skill-item {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

/* Executive Template */
.resume.executive {
    padding-top: 0;
}

.resume.executive .resume-header {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.resume.executive .header-top {
    display: flex;
    margin-bottom: var(--spacing-sm);
}

.resume.executive .header-left {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    width: 33%;
}

.resume.executive .header-right {
    background-color: #212121;
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    flex: 1;
}

.resume.executive #preview-name {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 0;
}

.resume.executive #preview-title {
    font-size: 1em;
    margin-top: var(--spacing-xs);
}

.resume.executive .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.85em;
    border-top: 1px solid var(--primary-color);
    padding-top: var(--spacing-sm);
}

.resume.executive .divider {
    height: 2px;
    background-color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

.resume.executive .section-title {
    color: var(--primary-color);
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.resume.executive .section-content {
    margin-left: var(--spacing-md);
}

.resume.executive .job-item,
.resume.executive .education-item,
.resume.executive .project-item {
    margin-bottom: var(--spacing-md);
}

.resume.executive .job-title,
.resume.executive .degree,
.resume.executive .project-name {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.resume.executive .skills-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs) var(--spacing-sm);
}

.resume.executive .skill-item {
    font-size: 0.9em;
}

/* Tech Template */
.resume.tech {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-lg);
    padding: 0;
}

.resume.tech .resume-sidebar {
    background-color: #212121;
    color: white;
    padding: var(--spacing-md);
    height: 100%;
}

.resume.tech .resume-main {
    padding: var(--spacing-md);
}

.resume.tech #preview-name {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.resume.tech #preview-title {
    font-size: 1em;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.resume.tech .contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.85em;
}

.resume.tech .sidebar-section {
    margin-bottom: var(--spacing-lg);
}

.resume.tech .sidebar-title {
    color: var(--primary-color);
    font-size: 1em;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.resume.tech .section-title {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.resume.tech .job-title,
.resume.tech .degree,
.resume.tech .project-name {
    font-weight: 500;
    color: var(--primary-color);
}

/* Academic Template */
.resume.academic {
    font-family: 'Georgia', serif;
}

.resume.academic .resume-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.resume.academic .header-title {
    font-size: 0.85em;
    color: #757575;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume.academic #preview-name {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.resume.academic #preview-title {
    font-size: 1em;
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.resume.academic .contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9em;
}

.resume.academic .divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: var(--spacing-md) 0;
}

.resume.academic .section-title {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.resume.academic .job-item,
.resume.academic .education-item,
.resume.academic .project-item {
    margin-bottom: var(--spacing-md);
}

.resume.academic .job-title,
.resume.academic .degree,
.resume.academic .project-name {
    font-weight: 700;
}

.resume.academic .job-description,
.resume.academic .project-description {
    margin-left: var(--spacing-md);
}

/* Elegant Template */
.resume.elegant {
    font-family: 'Times New Roman', Times, serif;
}

.resume.elegant .resume-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.resume.elegant #preview-name {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.resume.elegant #preview-title {
    font-size: 1em;
    margin-bottom: var(--spacing-md);
}

.resume.elegant .contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9em;
}

.resume.elegant .elegant-divider {
    display: flex;
    align-items: center;
    margin: var(--spacing-md) 0;
}

.resume.elegant .divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--primary-color);
}

.resume.elegant .divider-ornament {
    width: 50px;
    text-align: center;
    font-size: 0.8em;
    color: var(--primary-color);
}

.resume.elegant .section-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume.elegant .job-item,
.resume.elegant .education-item,
.resume.elegant .project-item {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.resume.elegant .job-title,
.resume.elegant .degree,
.resume.elegant .project-name {
    font-weight: 700;
}

.resume.elegant .skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.resume.elegant .skill-item {
    position: relative;
}

.resume.elegant .skill-item:not(:last-child)::after {
    content: "•";
    margin-left: var(--spacing-sm);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--backdrop-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-content.modal-large {
    max-width: 700px;
}

.modal-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.close-modal {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.close-modal:hover {
    background-color: var(--hover-color);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--spacing-md);
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--divider-color);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

/* AI Suggestions Modal */
.ai-suggestions-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
}

.ai-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.ai-tab:hover {
    color: var(--primary-color);
}

.ai-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.ai-tab-content {
    display: none;
    margin-bottom: var(--spacing-md);
}

.ai-tab-content.active {
    display: block;
}

.ai-suggestion {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.ai-suggestion p {
    margin-bottom: var(--spacing-md);
}

.custom-ai-prompt {
    margin-top: var(--spacing-lg);
}

/* AI Analysis Modal */
.analysis-summary {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
}

.analysis-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.analysis-score h4 {
    font-size: 1.1rem;
    margin-top: var(--spacing-xs);
    margin-bottom: 0;
}

.analysis-metrics {
    flex: 1;
}

.metric {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.metric-name {
    width: 150px;
    font-size: 0.9rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: var(--divider-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 var(--spacing-sm);
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.metric-score {
    width: 40px;
    text-align: right;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
}

.analysis-section {
    margin-bottom: var(--spacing-md);
}

.analysis-section-header {
    margin-bottom: var(--spacing-sm);
}

.analysis-section-header h5 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.analysis-section-header h5 i {
    color: var(--primary-color);
}

.analysis-section-header h5 i.fa-exclamation-triangle {
    color: var(--warning-color);
}

.analysis-list {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.analysis-list li {
    margin-bottom: var(--spacing-sm);
}

.improvement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.improvement-text {
    flex: 1;
}

.keywords-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-md);
}

.keyword-info {
    margin-bottom: var(--spacing-md);
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.keyword-tag {
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 0.9rem;
}

.keyword-tag.present {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.keyword-tag.missing {
    background-color: var(--divider-color);
    color: var(--text-secondary);
    border: 1px dashed var(--text-hint);
}

.keyword-action {
    width: 100%;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: var(--border-radius-md);
    background-color: var(--card-color);
    box-shadow: var(--shadow-3);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    transform: translateX(calc(100% + 30px));
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.25, 1.35);
    overflow: hidden;
    max-width: 350px;
}

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

.toast-content {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-color);
    font-size: 1.5rem;
}

.toast-message {
    flex: 1;
}

.toast-title {
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
}

.toast-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    color: var(--text-secondary);
    align-self: flex-start;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: var(--divider-color);
}

.toast-progress::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: var(--success-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: progress 5s linear forwards;
}

/* Import File Overlay */
.import-file-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--backdrop-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.import-file-overlay.active {
    opacity: 1;
    visibility: visible;
}

.import-file-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.import-file-overlay.active .import-file-container {
    transform: translateY(0);
}

.import-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--divider-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.import-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.close-import {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    background: none;
    border: none;
}

.close-import:hover {
    background-color: var(--hover-color);
    color: var(--text-primary);
}

.import-body {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.import-drop-area {
    border: 2px dashed var(--divider-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

.import-drop-area:hover, .import-drop-area.active {
    border-color: var(--primary-color);
    background-color: rgba(63, 81, 181, 0.05);
}

.import-drop-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.import-drop-area h3 {
    margin-bottom: var(--spacing-sm);
}

.import-drop-area p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.import-file-types {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
}

.import-options {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
}

.import-options h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.import-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.import-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--divider-color);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

/* AI Loading Overlay */
.ai-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--backdrop-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.ai-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ai-loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.spinner-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-inner::before, .spinner-inner::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border: 4px solid transparent;
    border-radius: 50%;
}

.spinner-inner::before {
    border-top-color: var(--primary-light);
    animation: spin 2s linear infinite;
}

.spinner-inner::after {
    border-top-color: var(--accent-color);
    animation: spin 3s linear infinite;
}

.ai-loading-text {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Onboarding Overlay */
.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--backdrop-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.onboarding-overlay.active {
    opacity: 1;
    visibility: visible;
}

.onboarding-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 700px;
    box-shadow: var(--shadow-3);
    position: relative;
    overflow: hidden;
}

.close-onboarding {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    z-index: 1;
    background: none;
    border: none;
}

.close-onboarding:hover {
    background-color: var(--hover-color);
    color: var(--text-primary);
}

.onboarding-content {
    padding: var(--spacing-lg);
}

.onboarding-content h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.onboarding-content p {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.onboarding-step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    opacity: 0.6;
}

.onboarding-step.active {
    background-color: var(--bg-color);
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: var(--font-weight-bold);
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.onboarding-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content {
        grid-template-columns: 3fr 2fr;
    }
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
        width: var(--sidebar-width);
        z-index: var(--z-drawer);
        transform: translateX(calc(-1 * var(--sidebar-width)));
        transition: transform 0.3s ease;
        border-radius: 0;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-sidebar-toggle {
        display: flex;
    }
    
    .mobile-sidebar-toggle-container {
        display: block;
    }
    
    .content {
        grid-template-columns: 1fr;
    }
    
    .preview-container {
        display: none;
    }
    
    .preview-container.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-actions {
        gap: var(--spacing-sm);
    }
    
    .header-actions span {
        display: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .form-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .onboarding-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-content h3, .step-content p {
        text-align: center;
    }
    
    .analysis-summary {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
}

@media (max-width: 576px) {
    .modal-content, .import-file-container, .onboarding-card {
        width: 90%;
    }
    
    .improvement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .toast {
        width: 90%;
        left: 5%;
        right: 5%;
        transform: translateY(100%);
    }
    
    .toast.active {
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    body, html {
        background-color: white !important;
        color: black !important;
    }
    
    header, .sidebar, .editor-container, .toast, .modal, .preview-header, .resume-score-container {
        display: none !important;
    }
    
    .container, .content, .preview-container, .preview-content {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .resume {
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}