/* Minimal CV Design - Clean & Professional */ :root { --bg-gray: #525659; --paper-white: #ffffff; --text-dark: #2d2d2d; --text-gray: #555555; --accent-blue: #0066cc; --border-gray: #dddddd; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', Arial, sans-serif; background-color: var(--bg-gray); color: var(--text-dark); line-height: 1.6; } a { color: var(--accent-blue); text-decoration: none; } a:hover { text-decoration: underline; } /* Action Bar */ .action-bar { background: white; border-bottom: 1px solid var(--border-gray); position: sticky; top: 0; z-index: 100; } .action-bar-content { max-width: 900px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .language-toggle { display: flex; gap: 0.5rem; } .lang-btn { padding: 0.4rem 1rem; border: 1px solid var(--border-gray); background: white; border-radius: 4px; cursor: pointer; font-size: 0.9rem; } .lang-btn:hover { background: #f5f5f5; } .lang-btn.active { background: var(--accent-blue); color: white; border-color: var(--accent-blue); } .export-btn { padding: 0.4rem 1.2rem; background: var(--accent-blue); color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; } .export-btn:hover { background: #0052a3; } /* Loading Indicator */ .htmx-indicator { display: none; } .htmx-indicator.htmx-request { display: inline-block; } .loader { border: 2px solid #f3f3f3; border-top: 2px solid var(--accent-blue); border-radius: 50%; width: 20px; height: 20px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* CV Container - Paper Design */ .cv-container { max-width: 900px; margin: 2rem auto; padding: 0 1rem; } .cv-paper { background: var(--paper-white); padding: 3rem 4rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); min-height: 11in; } /* Header - Photo on right, inline with text */ .cv-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; border-bottom: 2px solid var(--text-dark); padding-bottom: 1.5rem; margin-bottom: 2rem; } .cv-header-left { flex: 1; } .cv-header-right { flex-shrink: 0; } .cv-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 3px solid var(--border-gray); } .cv-photo img { width: 100%; height: 100%; object-fit: cover; } .cv-name { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; } .cv-title { font-size: 1.3rem; font-weight: 400; color: var(--text-gray); margin-bottom: 1rem; } .cv-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.5rem; font-size: 0.9rem; color: var(--text-gray); } /* Sections */ .cv-section { margin-bottom: 2rem; } .section-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--border-gray); } .summary-text { line-height: 1.7; text-align: justify; } /* Experience - with separators */ .experience-item { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-gray); } .experience-item:last-child { border-bottom: none; } .experience-header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; gap: 1rem; align-items: center; } .company-logo { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-right: 1rem; } .company-logo img { max-width: 100%; max-height: 100%; object-fit: contain; } .experience-title { flex: 1; } .position { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; } .company { color: var(--text-gray); font-size: 0.95rem; } .experience-period { color: var(--text-gray); font-size: 0.9rem; white-space: nowrap; font-style: italic; } .responsibilities { list-style: none; margin-bottom: 0.75rem; } .responsibilities li { padding-left: 1.2rem; margin-bottom: 0.4rem; position: relative; } .responsibilities li:before { content: "•"; position: absolute; left: 0; font-weight: bold; } .technologies { font-size: 0.85rem; color: var(--text-gray); font-style: italic; } /* Education */ .education-item { margin-bottom: 1rem; } .education-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .degree { font-size: 1rem; font-weight: 600; } .education-period { color: var(--text-gray); font-size: 0.9rem; font-style: italic; } .institution { color: var(--text-gray); font-size: 0.95rem; } /* Skills */ .skill-block { margin-bottom: 1rem; } .skill-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; } .skill-list { color: var(--text-gray); font-size: 0.95rem; } /* Projects */ .project-item { margin-bottom: 1.5rem; } .project-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .project-name { font-size: 1.1rem; font-weight: 600; } .project-period { color: var(--text-gray); font-size: 0.9rem; font-style: italic; } .project-role { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 0.5rem; } .project-description { margin-bottom: 0.5rem; } /* Certifications & Awards */ .cert-item, .award-item { margin-bottom: 0.5rem; font-size: 0.95rem; } /* Languages */ .languages-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; } .language-item { font-size: 0.95rem; } /* Footer */ footer { text-align: center; padding: 2rem; color: rgba(255,255,255,0.7); font-size: 0.85rem; } /* Responsive */ @media (max-width: 768px) { .cv-paper { padding: 2rem 1.5rem; } .cv-name { font-size: 2rem; } .cv-header { flex-direction: column; align-items: center; text-align: center; } .cv-photo { order: -1; margin-bottom: 1rem; } .experience-header, .project-header, .education-header { flex-direction: column; gap: 0.25rem; } .company-logo { display: none; } } .no-print {} /* Print Styles for Photo */ @media print { .cv-photo { width: 100px; height: 100px; border-width: 2px; } .company-logo { width: 30px; height: 30px; } } /* CV Length Toggle */ .cv-length-toggle { display: flex; gap: 0.5rem; } .length-btn { padding: 0.4rem 1rem; border: 1px solid var(--border-gray); background: white; border-radius: 4px; cursor: pointer; font-size: 0.9rem; } .length-btn:hover { background: #f5f5f5; } .length-btn.active { background: var(--accent-blue); color: white; border-color: var(--accent-blue); } /* Short CV - Hide detailed content */ .cv-short .long-only { display: none; } .cv-short .short-desc { display: block; color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; } /* Long CV - Hide short descriptions */ .cv-long .short-desc, .short-desc { display: none; } .cv-long .long-only { display: block; } /* Ensure lists display correctly in long mode */ .cv-long .responsibilities { display: block; } /* Responsive adjustments */ @media (max-width: 768px) { .action-bar-content { flex-wrap: wrap; justify-content: center; } .cv-length-toggle { order: 1; width: 100%; justify-content: center; margin-top: 0.5rem; } }