/* /Features/CvManagement/BuildCv.razor.rz.scp.css */
/* Container for the entire CV builder page */
.cv-container[b-ymi5qkqyil] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Styles for the CV builder form section – light, professional */
.cv-builder[b-ymi5qkqyil] {
    width: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Sticky block: top row + toolbar + Privacy + General info + Add section */
.cv-build-sticky[b-ymi5qkqyil] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
}

/* Top row: left = back + title, right = Save, Preview, Download PDF, Import */
.cv-builder-top[b-ymi5qkqyil] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.cv-builder-top-left[b-ymi5qkqyil] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-builder-top-actions[b-ymi5qkqyil] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Preview button – standout color */
.cv-preview-btn[b-ymi5qkqyil] {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.35);
}

.cv-preview-btn:hover[b-ymi5qkqyil] {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(13, 148, 136, 0.45);
}

/* Blink/pulse after save */
.cv-preview-btn-pulse[b-ymi5qkqyil] {
    animation: preview-pulse-b-ymi5qkqyil 0.6s ease-in-out 4;
}

@keyframes preview-pulse-b-ymi5qkqyil {
    0%, 100% {
        box-shadow: 0 2px 6px rgba(13, 148, 136, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.5), 0 2px 6px rgba(13, 148, 136, 0.35);
        transform: scale(1.05);
    }
}

.cv-builder-title[b-ymi5qkqyil] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

/* Toolbar: CV name + Template */
.cv-toolbar[b-ymi5qkqyil] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 20px;
}

.cv-toolbar-label[b-ymi5qkqyil] {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.cv-toolbar-name-group[b-ymi5qkqyil] {
    flex: 1;
    min-width: 200px;
}

.cv-toolbar-title[b-ymi5qkqyil] {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cv-toolbar-title:focus[b-ymi5qkqyil] {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.cv-toolbar-template-group[b-ymi5qkqyil] {
    min-width: 140px;
}

.cv-toolbar-select[b-ymi5qkqyil] {
    min-width: 140px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.cv-toolbar-actions[b-ymi5qkqyil] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cv-toolbar-dropdown[b-ymi5qkqyil] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 2px;
    z-index: 1050;
}

/* Block sections (Privacy, General information) – card style with subtle color */
.block-section[b-ymi5qkqyil] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #94a3b8;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.block-section-general[b-ymi5qkqyil] {
    border-left-color: #3b82f6;
}

.block-section-privacy[b-ymi5qkqyil] {
    border-left-color: #8b5cf6;
}

.block-section.block-collapsed .block-content[b-ymi5qkqyil] {
    display: none;
}

.block-header[b-ymi5qkqyil] {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.15s ease;
}

.block-header:hover[b-ymi5qkqyil] {
    background: #f1f5f9;
}

.block-expand[b-ymi5qkqyil] {
    font-size: 12px;
    color: #64748b;
}

.block-title[b-ymi5qkqyil] {
    margin: 0;
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.block-content[b-ymi5qkqyil] {
    margin-top: 0;
    padding: 16px;
    background: #fff;
}

/* General information fields */
.general-info-fields[b-ymi5qkqyil] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.general-info-field[b-ymi5qkqyil] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.general-info-label[b-ymi5qkqyil] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.general-info-field .form-control[b-ymi5qkqyil] {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.general-info-field .form-control:focus[b-ymi5qkqyil] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Add section area – directly under General information */
.add-section-area[b-ymi5qkqyil] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #10b981;
}

.add-section-desc[b-ymi5qkqyil] {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 12px 0;
}

.add-section-controls[b-ymi5qkqyil] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.add-section-row[b-ymi5qkqyil] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.add-section-select[b-ymi5qkqyil] {
    width: 200px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.add-section-btn[b-ymi5qkqyil] {
    border-radius: 8px;
    font-weight: 600;
}

/* Sections list (Experience, Education, etc.) */
.sections[b-ymi5qkqyil] {
    margin-top: 8px;
}

/* Header section containing CV title input, section selector, and action buttons */
.cv-header[b-ymi5qkqyil] {
    display: flex; /* Uses flexbox for horizontal layout */
    gap: 10px; /* Adds spacing between child elements */
    margin-bottom: 20px; /* Adds space below the header */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.cv-header-main[b-ymi5qkqyil] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cv-header-main input[b-ymi5qkqyil] {
    min-width: 180px;
}

    /* Styles for inputs, select dropdowns, and buttons within the header */
    .cv-header input[b-ymi5qkqyil],
    .cv-header select[b-ymi5qkqyil],
    .cv-header button[b-ymi5qkqyil] {
        padding: 8px; /* Adds padding for comfortable interaction */
        font-size: 16px; /* Sets font size for readability */
    }

    /* General button styling in the header */
    .cv-header button[b-ymi5qkqyil] {
        background: #007bff; /* Blue background for primary actions */
        color: white; /* White text for contrast */
        border: none; /* Removes default border */
        border-radius: 4px; /* Rounds corners */
        cursor: pointer; /* Indicates clickability */
    }

        /* Disabled button state in the header */
        .cv-header button:disabled[b-ymi5qkqyil] {
            background: #ccc; /* Gray background for disabled state */
            cursor: not-allowed; /* Indicates non-interactivity */
        }

/* Specific styling for the preview toggle button */
.fixed-preview-toggle[b-ymi5qkqyil] {
    background: #28a745 !important; /* Green background for visibility */
    position: fixed; /* Fixes position relative to viewport */
    bottom: 20px; /* Aligns to bottom with spacing */
    right: 20px; /* Aligns to right with spacing */
    z-index: 1000; /* Ensures it's above other content */
}

    /* Hover state for the preview toggle button */
    .fixed-preview-toggle:hover[b-ymi5qkqyil] {
        background: #218838 !important; /* Darker green on hover */
    }

/* Specific styling for the collapse button */
.collapse-button[b-ymi5qkqyil] {
    background: #6c757d !important; /* Gray background for secondary action */
    color: white; /* White text for contrast */
}

    /* Hover state for the collapse button */
    .collapse-button:hover[b-ymi5qkqyil] {
        background: #5a6268 !important; /* Darker gray on hover */
    }

/* Preview container that slides in from the right */
.cv-preview-container[b-ymi5qkqyil] {
    position: fixed; /* Fixes position to cover the viewport */
    top: 0; /* Aligns to top */
    right: 0; /* Aligns to right for slide-in */
    width: 100%; /* Takes full viewport width */
    max-width: calc(100% - 40px); /* Prevents overflow with margins */
    height: 100%; /* Takes full viewport height */
    background: white; /* White background for clarity */
    z-index: 1000; /* Ensures preview is above other content */
    overflow-y: auto; /* Enables vertical scrolling for long content */
    animation: slideIn-b-ymi5qkqyil 0.5s ease-out forwards; /* Slide-in animation */
    padding: 20px; /* Adds internal padding */
    box-sizing: border-box; /* Includes padding in width/height */
}

.cv-preview-overlay[b-ymi5qkqyil] {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.cv-preview-overlay-backdrop[b-ymi5qkqyil] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cv-preview-overlay-content[b-ymi5qkqyil] {
    position: relative;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Preview header: close button + voice controls */
.cv-preview-header[b-ymi5qkqyil] {
    position: sticky;
    top: 0;
    z-index: 1010;
    min-height: 44px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    background: transparent;
}

.cv-preview-voice-controls[b-ymi5qkqyil] {
    position: absolute;
    left: 20px;
    top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-preview-voice-status[b-ymi5qkqyil] {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Close button for the preview */
.close-preview[b-ymi5qkqyil] {
    position: absolute; /* Positions relative to .cv-preview-container */
    top: 10px; /* Aligns near top */
    right: 10px; /* Aligns near right */
    background: #dc3545; /* Red background for visibility */
    color: white; /* White text for contrast */
    border: none; /* Removes default border */
    border-radius: 4px; /* Rounds corners */
    padding: 8px 16px; /* Adds padding for clickability */
    cursor: pointer; /* Indicates clickability */
}

    /* Hover state for close preview button */
    .close-preview:hover[b-ymi5qkqyil] {
        background: #c82333; /* Darker red on hover */
    }

/* Slide-in animation for preview container */
@keyframes slideIn-b-ymi5qkqyil {
    from {
        transform: translateX(100%); /* Starts off-screen to the right */
        opacity: 0; /* Starts invisible */
    }

    to {
        transform: translateX(0); /* Slides to original position */
        opacity: 1; /* Becomes fully visible */
    }
}

/* Print styles to hide non-preview elements */
@media print {
    .cv-container[b-ymi5qkqyil],
    .cv-builder[b-ymi5qkqyil],
    .cv-header[b-ymi5qkqyil],
    .fixed-preview-toggle[b-ymi5qkqyil],
    .collapse-button[b-ymi5qkqyil],
    .close-preview[b-ymi5qkqyil],
    .cv-preview-header[b-ymi5qkqyil] {
        display: none !important; /* Hides all builder elements during print */
    }

    .cv-preview-container[b-ymi5qkqyil] {
        position: static; /* Removes fixed positioning for print */
        width: 210mm; /* Sets A4 width */
        max-width: 210mm; /* Ensures A4 width */
        height: auto; /* Allows natural height */
        padding: 0; /* Removes padding for print */
        animation: none; /* Disables animation for print */
    }

    .cv-preview[b-ymi5qkqyil] {
        width: 210mm;
        margin: 0;
        animation: none;
    }

    #preview-content[b-ymi5qkqyil] {
        width: 210mm;
        height: auto;
        padding: 20mm;
        box-shadow: none;
        border: none;
        margin: 0;
    }
}

/* Auto-fill skills choice modal */
.auto-fill-modal-backdrop[b-ymi5qkqyil] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.auto-fill-modal[b-ymi5qkqyil] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 420px;
}

/* Full-screen overlay while importing a CV */
.cv-import-overlay[b-ymi5qkqyil] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.cv-import-overlay-backdrop[b-ymi5qkqyil] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cv-import-overlay-content[b-ymi5qkqyil] {
    position: relative;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cv-import-spinner[b-ymi5qkqyil] {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
}
/* /Features/CvManagement/CvSection.razor.rz.scp.css */
/* Container for all sections in the CV builder */
.sections[b-56kdmj6cfx] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual section container – card style to match build page */
.section[b-56kdmj6cfx] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border-left: 4px solid #0ea5e9;
}

    /* Hides content of collapsed sections */
    .section.collapsed .section-content[b-56kdmj6cfx] {
        display: none; /* Hides section content when collapsed */
    }

/* Header for each section, containing title and controls */
.section-header[b-56kdmj6cfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.section-header:hover[b-56kdmj6cfx] {
    background: #f1f5f9;
}

    /* Section title styling */
    .section-header h3[b-56kdmj6cfx] {
        margin: 0; /* Removes default margin */
        flex-grow: 1; /* Allows title to take available space */
    }

/* Add Item + X in header (between title and arrows) */
.section-header-actions[b-56kdmj6cfx] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-header .add-item-button[b-56kdmj6cfx] {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
}

.section-header .add-item-button:hover[b-56kdmj6cfx] {
    background: #0056b3;
}

/* Expand/collapse icon for sections */
.expand-icon[b-56kdmj6cfx] {
    cursor: pointer; /* Indicates clickability */
    font-size: 20px; /* Larger font for visibility */
}

/* Container for move up/down buttons */
.move-buttons[b-56kdmj6cfx] {
    display: flex; /* Uses flexbox for horizontal layout */
    gap: 5px; /* Adds spacing between buttons */
}

/* Styling for move up/down buttons */
.move-button[b-56kdmj6cfx] {
    background: #6c757d; /* Gray background for secondary actions */
    color: white; /* White text for contrast */
    border: none; /* Removes default border */
    border-radius: 4px; /* Rounds corners */
    padding: 5px 10px; /* Adds padding for clickability */
    cursor: pointer; /* Indicates clickability */
}

    /* Hover state for move buttons */
    .move-button:hover[b-56kdmj6cfx] {
        background: #5a6268; /* Darker gray on hover */
    }

/* Content area of an expanded section */
.section-content[b-56kdmj6cfx] {
    margin-top: 0;
    padding: 14px;
    background: #fff;
}

    /* Inputs and textareas within section content */
    .section-content input[b-56kdmj6cfx],
    .section-content textarea[b-56kdmj6cfx] {
        width: 100%; /* Takes full width of section */
        padding: 8px; /* Adds padding for comfort */
        margin-bottom: 10px; /* Adds space below each field */
        font-size: 16px; /* Sets font size for readability */
    }

    /* Buttons within section content */
    .section-content button[b-56kdmj6cfx] {
        background: #007bff; /* Blue background for primary actions */
        color: white; /* White text for contrast */
        border: none; /* Removes default border */
        border-radius: 4px; /* Rounds corners */
        padding: 8px; /* Adds padding */
        cursor: pointer; /* Indicates clickability */
        margin-bottom: 10px; /* Adds space below buttons */
    }

        /* Hover state for section content buttons */
        .section-content button:hover[b-56kdmj6cfx] {
            background: #0056b3; /* Darker blue on hover */
        }

/* Styling for remove buttons (sections and items) */
.remove-button[b-56kdmj6cfx] {
    background: #dc3545 !important; /* Red background for destructive actions */
    color: white !important; /* White text for contrast */
    padding: 5px 10px !important; /* Smaller padding for compact appearance */
}

    /* Hover state for remove buttons */
    .remove-button:hover[b-56kdmj6cfx] {
        background: #c82333 !important; /* Darker red on hover */
    }

/* Container for items within a section */
.items[b-56kdmj6cfx] {
    display: flex; /* Uses flexbox for layout */
    flex-direction: column; /* Stacks items vertically */
    gap: 10px; /* Adds spacing between items */
}

/* Individual item container – collapsible */
.item[b-56kdmj6cfx] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.item:last-child[b-56kdmj6cfx] {
    margin-bottom: 0;
}

.item-collapsed .item-content[b-56kdmj6cfx] {
    display: none;
}

.item-header[b-56kdmj6cfx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    user-select: none;
    background: #f8fafc;
    border-bottom: 1px solid transparent;
    transition: background 0.15s ease;
}

.item-expanded .item-header[b-56kdmj6cfx] {
    border-bottom-color: #e2e8f0;
}

.item-header:hover[b-56kdmj6cfx] {
    background: #f1f5f9;
}

.item-expand-icon[b-56kdmj6cfx] {
    font-size: 11px;
    color: #64748b;
    flex-shrink: 0;
}

.item-summary[b-56kdmj6cfx] {
    flex: 1;
    font-size: 0.9rem;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.item-header-actions[b-56kdmj6cfx] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.item-header-actions .move-button[b-56kdmj6cfx],
.item-header-actions .remove-button[b-56kdmj6cfx] {
    padding: 4px 8px;
    font-size: 0.8rem;
}

/* Content area of an item (when expanded) */
.item-content[b-56kdmj6cfx] {
    padding: 12px 12px 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.items-empty[b-56kdmj6cfx] {
    margin: 0;
    padding: 12px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Container for item action buttons (remove, move) */
.item-actions[b-56kdmj6cfx] {
    display: flex; /* Uses flexbox for horizontal layout */
    gap: 5px; /* Adds spacing between buttons */
}

/* Print styles to hide section elements */
@media print {
    .sections[b-56kdmj6cfx],
    .section[b-56kdmj6cfx],
    .section-header[b-56kdmj6cfx],
    .section-content[b-56kdmj6cfx],
    .section-header-actions[b-56kdmj6cfx],
    .items[b-56kdmj6cfx],
    .item[b-56kdmj6cfx],
    .item-content[b-56kdmj6cfx],
    .item-actions[b-56kdmj6cfx],
    .move-buttons[b-56kdmj6cfx],
    .remove-button[b-56kdmj6cfx],
    .add-item-button[b-56kdmj6cfx] {
        display: none !important; /* Hides all section elements during print */
    }
}
/* /Features/CvManagement/ItemFields.razor.rz.scp.css */
/* Container for item fields */
.item-fields[b-r671lwfjdt] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: #fafafa;
    border-radius: 4px;
    flex-grow: 1; /* Allow fields to take available space */
}

/* Field container */
.field[b-r671lwfjdt] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    /* Label styling */
    .field label[b-r671lwfjdt] {
        flex: 0 0 80px; /* Reduced from 100px for more input space */
        font-weight: 600;
        color: #333;
        text-transform: capitalize;
    }

    /* Input and textarea styling */
    .field input[b-r671lwfjdt],
    .field textarea[b-r671lwfjdt] {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 0.9em;
        background: #fff;
        transition: border-color 0.2s;
    }

        /* Focus states */
        .field input:focus[b-r671lwfjdt],
        .field textarea:focus[b-r671lwfjdt] {
            border-color: #007bff;
            outline: none;
        }

/* Textarea specific styling */
.field-textarea[b-r671lwfjdt] {
    min-height: 60px;
    resize: vertical;
}

/* Group of fields (e.g., start/end dates) */
.field-group[b-r671lwfjdt] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Date fields */
.field-date[b-r671lwfjdt] {
    flex: 1;
    min-width: 100px; /* Reduced from 120px */
}

/* Responsive adjustments for tablet/mobile */
@media (max-width: 767px) {
    .item-fields[b-r671lwfjdt] {
        padding: 8px;
        gap: 6px;
    }

    .field[b-r671lwfjdt] {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

        .field label[b-r671lwfjdt] {
            flex: none;
            width: 100%;
            font-size: 0.85em;
        }

        .field input[b-r671lwfjdt],
        .field textarea[b-r671lwfjdt] {
            width: 100%;
        }

    .field-date[b-r671lwfjdt] {
        min-width: 100%;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .field label[b-r671lwfjdt] {
        flex: 0 0 70px; /* Smaller labels for tablets */
    }

    .field-date[b-r671lwfjdt] {
        min-width: 80px;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-06nol94kpk] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-06nol94kpk] {
    flex: 1;
}

.sidebar[b-06nol94kpk] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-06nol94kpk] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-06nol94kpk]  a, .top-row[b-06nol94kpk]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-06nol94kpk]  a:hover, .top-row[b-06nol94kpk]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-06nol94kpk]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-06nol94kpk] {
        justify-content: space-between;
    }

    .top-row[b-06nol94kpk]  a, .top-row[b-06nol94kpk]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-06nol94kpk] {
        flex-direction: row;
    }

    .sidebar[b-06nol94kpk] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-06nol94kpk] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-06nol94kpk]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-06nol94kpk], article[b-06nol94kpk] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mr5fy52soy] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-mr5fy52soy] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-mr5fy52soy] {
    font-size: 1.1rem;
}

.bi[b-mr5fy52soy] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-mr5fy52soy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-mr5fy52soy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-mr5fy52soy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-mr5fy52soy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-mr5fy52soy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-mr5fy52soy] {
        padding-bottom: 1rem;
    }

    .nav-item[b-mr5fy52soy]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-mr5fy52soy]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-mr5fy52soy]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mr5fy52soy] {
        display: none;
    }

    .collapse[b-mr5fy52soy] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-mr5fy52soy] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Shared/CvPreview.razor.rz.scp.css */
/* Preview container */
.cv-preview[b-3coi8qvb8s] {
    width: 100%;
    max-width: calc(100% - 40px); /* Prevent horizontal scroll */
    margin: 20px auto;
    animation: slideIn-b-3coi8qvb8s 0.5s ease-out forwards; /* Slide-in animation */
}

/* Slide-in animation */
@keyframes slideIn-b-3coi8qvb8s {
    from {
        transform: translateX(100%); /* Starts off-screen to the right */
        opacity: 0; /* Starts invisible */
    }

    to {
        transform: translateX(0); /* Slides to original position */
        opacity: 1; /* Becomes fully visible */
    }
}

/* Preview content */
[b-3coi8qvb8s] #preview-content {
    width: 100%;
    max-width: 210mm; /* A4 width */
    padding: 20mm; /* 20mm padding */
    background: white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25); /* Shadow for page effect */
    border: 1px solid #ccc; /* Border for clarity */
    margin: 56px auto 0 auto; /* Center, leave space at top for sticky header/buttons */
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

.cv-preview-layout[b-3coi8qvb8s] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cv-preview-hints-legend[b-3coi8qvb8s] {
    flex: 0 0 260px;
    max-width: 260px;
    font-size: 0.8rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.cv-preview-hints-list[b-3coi8qvb8s] {
    padding-left: 16px;
    margin: 0;
}

.cv-preview-hints-list li[b-3coi8qvb8s] {
    margin-bottom: 4px;
}


[b-3coi8qvb8s] .preview-general-info {
    margin-bottom: 16px;
}

[b-3coi8qvb8s] .preview-general-info p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

/* Preview section */
[b-3coi8qvb8s] .preview-section {
    margin-bottom: 20px;
}

    /* Preview item - more space between one experience/education item and the next */
    [b-3coi8qvb8s] .preview-section .preview-item {
        margin-bottom: 24px;
    }

    /* Role and recommendation letter grouped with tight spacing */
    [b-3coi8qvb8s] .preview-section .role-and-recommendation {
        margin-bottom: 4px;
    }

    [b-3coi8qvb8s] .preview-section .role-and-recommendation .date-display {
        margin-bottom: 2px;
    }

    [b-3coi8qvb8s] .preview-section .role-and-recommendation .recommendation-link {
        margin-top: 0;
        margin-bottom: 0;
    }

    /* All preview links open in new tab (enforced in markup) */
    [b-3coi8qvb8s] .preview-section a[target="_blank"] {
        color: #0d6efd;
    }

    /* Company name - distinct color (with or without link) that works with #333 / #555 palette */
    [b-3coi8qvb8s] .preview-section .preview-item h3.company-name {
        color: #1a56db;
    }

    [b-3coi8qvb8s] .preview-section .preview-item h3.company-name a[target="_blank"] {
        color: inherit;
        text-decoration: none;
    }

    [b-3coi8qvb8s] .preview-section .preview-item h3.company-name a[target="_blank"]:hover {
        text-decoration: underline;
    }

    /* Section description */
    [b-3coi8qvb8s] .preview-section .section-description {
        font-style: italic;
        color: #555;
        margin-bottom: 10px;
        font-size: 12px; /* Constrain font size */
        line-height: 1.3; /* Constrain line height */
    }

    /* Item description */
    [b-3coi8qvb8s] .preview-section .item-description {
        color: #333;
        margin-top: 5px;
        font-size: 12px; /* Constrain font size */
        line-height: 1.3; /* Constrain line height */
    }

    /* Skills list */
    [b-3coi8qvb8s] .preview-section .skills-list {
        list-style-type: disc;
        margin-left: 20px;
    }

    /* Links list (e.g. GitHub, LinkedIn) */
    [b-3coi8qvb8s] .preview-section .links-list {
        list-style-type: none;
        margin-left: 0;
        padding-left: 0;
    }

    [b-3coi8qvb8s] .preview-section .links-list li {
        margin-bottom: 4px;
    }

/* Header styling */
[b-3coi8qvb8s] h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

[b-3coi8qvb8s] h2 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    color: #333;
}

[b-3coi8qvb8s] h3 {
    font-size: 1.2em;
    margin: 0;
    color: #333;
}

/* Media query for print */
@media print {
    .cv-preview[b-3coi8qvb8s] {
        width: 210mm;
        margin: 0;
        animation: none; /* Disable animation for print */
    }

    [b-3coi8qvb8s] #preview-content {
        width: 210mm;
        height: auto; /* Allow natural flow */
        padding: 20mm;
        box-shadow: none;
        border: none;
        margin: 0;
    }

    @page {
        size: A4;
        margin: 0; /* Padding handled by #preview-content */
    }

    [b-3coi8qvb8s] p {
        orphans: 3;
        widows: 3;
    }
}

/* ========== Template overrides (classic = base above) ========== */

/* Modern: sans-serif, clean, blue-gray accent */
.cv-preview.cv-template-modern[b-3coi8qvb8s]  #preview-content {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    border-color: #e2e8f0;
    color: #334155;
}
.cv-preview.cv-template-modern[b-3coi8qvb8s]  .preview-general-info p { color: #64748b; }
.cv-preview.cv-template-modern[b-3coi8qvb8s]  h1 { color: #1e293b; font-size: 1.75em; letter-spacing: -0.02em; }
.cv-preview.cv-template-modern[b-3coi8qvb8s]  h2 {
    color: #0f172a;
    border-bottom-color: #3b82f6;
    border-bottom-width: 2px;
    padding-bottom: 6px;
}
.cv-preview.cv-template-modern[b-3coi8qvb8s]  h3 { color: #1e40af; }
.cv-preview.cv-template-modern[b-3coi8qvb8s]  .preview-section .preview-item h3.company-name { color: #1e40af; }
.cv-preview.cv-template-modern[b-3coi8qvb8s]  .preview-section a[target="_blank"] { color: #2563eb; }
.cv-preview.cv-template-modern[b-3coi8qvb8s]  .preview-section .section-description { color: #64748b; }
.cv-preview.cv-template-modern[b-3coi8qvb8s]  .preview-section .item-description { color: #334155; }

/* Minimal: light borders, lots of whitespace */
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  #preview-content {
    font-family: Georgia, 'Times New Roman', serif;
    border: 1px solid #f1f5f9;
    padding: 24mm;
    color: #475569;
}
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-general-info { margin-bottom: 24px; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-general-info p { color: #64748b; font-size: 0.95em; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  h1 { color: #0f172a; font-size: 1.7em; font-weight: 400; margin-bottom: 12px; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  h2 {
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 1.1em;
}
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  h3 { color: #475569; font-weight: 600; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-section { margin-bottom: 28px; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-section .preview-item { margin-bottom: 28px; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-section .preview-item h3.company-name { color: #475569; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-section .section-description { color: #64748b; }
.cv-preview.cv-template-minimal[b-3coi8qvb8s]  .preview-section .item-description { color: #475569; }

/* Executive: serif, formal, strong dividers */
.cv-preview.cv-template-executive[b-3coi8qvb8s]  #preview-content {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    border: 1px solid #1e293b;
    color: #1e293b;
}
.cv-preview.cv-template-executive[b-3coi8qvb8s]  .preview-general-info p { color: #475569; }
.cv-preview.cv-template-executive[b-3coi8qvb8s]  h1 { color: #0f172a; font-size: 1.9em; font-weight: 700; }
.cv-preview.cv-template-executive[b-3coi8qvb8s]  h2 {
    color: #0f172a;
    border-bottom: 2px solid #1e293b;
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.25em;
}
.cv-preview.cv-template-executive[b-3coi8qvb8s]  h3 { color: #1e293b; font-weight: 700; }
.cv-preview.cv-template-executive[b-3coi8qvb8s]  .preview-section .preview-item h3.company-name { color: #1e293b; }
.cv-preview.cv-template-executive[b-3coi8qvb8s]  .preview-section a[target="_blank"] { color: #1e3a5f; }
.cv-preview.cv-template-executive[b-3coi8qvb8s]  .preview-section .section-description { color: #475569; }
.cv-preview.cv-template-executive[b-3coi8qvb8s]  .preview-section .item-description { color: #334155; }

/* Creative: distinctive font, teal accent */
.cv-preview.cv-template-creative[b-3coi8qvb8s]  #preview-content {
    font-family: 'Segoe UI', system-ui, sans-serif;
    border: 2px solid #0d9488;
    color: #134e4a;
}
.cv-preview.cv-template-creative[b-3coi8qvb8s]  .preview-general-info p { color: #0f766e; }
.cv-preview.cv-template-creative[b-3coi8qvb8s]  h1 {
    color: #0d9488;
    font-size: 1.85em;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cv-preview.cv-template-creative[b-3coi8qvb8s]  h2 {
    color: #0f766e;
    border-bottom: 3px solid #0d9488;
    padding-bottom: 6px;
    font-weight: 700;
}
.cv-preview.cv-template-creative[b-3coi8qvb8s]  h3 { color: #0d9488; font-weight: 700; }
.cv-preview.cv-template-creative[b-3coi8qvb8s]  .preview-section .preview-item h3.company-name { color: #0d9488; }
.cv-preview.cv-template-creative[b-3coi8qvb8s]  .preview-section a[target="_blank"] { color: #0f766e; }
.cv-preview.cv-template-creative[b-3coi8qvb8s]  .preview-section .section-description { color: #0f766e; }
.cv-preview.cv-template-creative[b-3coi8qvb8s]  .preview-section .item-description { color: #134e4a; }

/* Technical: monospace/technical feel, muted palette */
.cv-preview.cv-template-technical[b-3coi8qvb8s]  #preview-content {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 14px;
}
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-general-info p { color: #64748b; font-size: 0.85em; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  h1 {
    color: #1e293b;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.cv-preview.cv-template-technical[b-3coi8qvb8s]  h2 {
    color: #334155;
    border-bottom: 1px solid #94a3b8;
    padding-bottom: 4px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 700;
}
.cv-preview.cv-template-technical[b-3coi8qvb8s]  h3 { color: #475569; font-weight: 600; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-section .preview-item h3.company-name { color: #334155; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-section a[target="_blank"] { color: #475569; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-section .section-description { color: #64748b; font-style: normal; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-section .item-description { color: #475569; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-section .skills-list { list-style-type: none; margin-left: 0; }
.cv-preview.cv-template-technical[b-3coi8qvb8s]  .preview-section .skills-list li::before { content: "> "; color: #94a3b8; }
/* /Shared/MessagePopup.razor.rz.scp.css */
.message-popup[b-g7g57bw59a] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
    width: 90%;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    transform: translateY(0);
    animation: slideIn-b-g7g57bw59a 0.3s ease-out;
}

.message-popup.error[b-g7g57bw59a] {
    background: #ffebee;
    border: 1px solid #d32f2f;
}

.message-popup.success[b-g7g57bw59a] {
    background: #e8f5e9;
    border: 1px solid #2e7d32;
}

.message-popup.warning[b-g7g57bw59a] {
    background: #fff3e0;
    border: 1px solid #f57c00;
}

.message-popup.info[b-g7g57bw59a] {
    background: #e3f2fd;
    border: 1px solid #0288d1;
}

.message-content[b-g7g57bw59a] {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 8px;
}

.message-icon[b-g7g57bw59a] {
    font-size: 1.2em;
}

.message-content p[b-g7g57bw59a] {
    margin: 0;
    flex: 1;
    font-size: 0.85em;
}

.close-button[b-g7g57bw59a] {
    padding: 4px 8px;
    background: #555;
    color: white;
    border-radius: 3px;
    font-size: 0.75em;
}

    .close-button:hover[b-g7g57bw59a] {
        background: #333;
    }

@keyframes slideIn-b-g7g57bw59a {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 0.95;
    }
}

@keyframes slideOut-b-g7g57bw59a {
    from {
        transform: translateY(0);
        opacity: 0.95;
    }

    to {
        transform: translateY(100px);
        opacity: 0;
    }
}
/* /Shared/RichTextEditor.razor.rz.scp.css */
.rich-text-editor[b-3r65wglykf] {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background: #fff;
    width: 100%;
}

.rich-text-toolbar[b-3r65wglykf] {
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #ced4da;
    background: #f8f9fa;
    display: flex;
    gap: 0.25rem;
}

.rich-text-body[b-3r65wglykf] {
    min-height: 100px;
    padding: 0.5rem 0.75rem;
    outline: none;
    overflow-y: auto;
}

.rich-text-body:empty[b-3r65wglykf]::before {
    content: attr(data-placeholder);
    color: #6c757d;
}

.rich-text-body ul[b-3r65wglykf],
.rich-text-body ol[b-3r65wglykf] {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.rich-text-body p[b-3r65wglykf] {
    margin: 0.25rem 0;
}
