/* Zety Simple Resume Template Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.zety-simple-template {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 40px;
    box-sizing: border-box;
    color: #334155;
    line-height: 1.5;
}

.simple-header {
    border-bottom: 1.5px solid #0f172a;
    padding-bottom: 14px;
    margin-bottom: 24px;
}

.simple-name {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.simple-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.simple-contact-line {
    font-size: 0.86rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Two-Column Layout (Flex ensures columns fragment properly in print) */
.simple-body-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
}

.simple-col-main {
    width: 63%;
    flex: 0 0 63%;
    min-width: 0;
}

.simple-col-side {
    width: 34%;
    flex: 0 0 34%;
    min-width: 0;
}

.simple-section {
    margin-bottom: 24px;
}

.simple-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    border-bottom: 1.5px solid #cbd5e1;
    padding-bottom: 4px;
    margin: 0 0 12px 0;
}

.simple-summary-text {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
}

/* Experience */
.simple-exp-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.simple-exp-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.simple-role {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.simple-dates {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.simple-company {
    font-size: 0.88rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 6px;
}

.simple-desc {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
}

.simple-desc ul {
    margin: 4px 0 0 0;
    padding-left: 18px;
}

/* Skills */
.simple-skills-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simple-skill-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3px;
}

.simple-pct {
    font-size: 0.78rem;
    color: #3b82f6;
}

.simple-bar-bg {
    background: #e2e8f0;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
}

.simple-bar-fill {
    background: #3b82f6;
    height: 100%;
    border-radius: 4px;
}

/* Education */
.simple-edu-item {
    margin-bottom: 12px;
}

.simple-degree {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.simple-school {
    font-size: 0.82rem;
    color: #475569;
}

.simple-year {
    font-size: 0.78rem;
    color: #3b82f6;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .simple-body-grid {
        flex-direction: column;
    }
    .simple-col-main,
    .simple-col-side {
        width: 100%;
        flex: 0 0 100%;
    }
    .zety-simple-template {
        padding: 24px 18px;
    }
}

/* Print */
@media print {
    body {
        background: none !important;
        padding: 0 !important;
    }
    .zety-simple-template {
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10mm 12mm !important;
        border-radius: 0 !important;
    }
    .simple-body-grid {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    .simple-col-main {
        width: 63% !important;
        flex: 0 0 63% !important;
    }
    .simple-col-side {
        width: 34% !important;
        flex: 0 0 34% !important;
    }
    .simple-bar-fill {
        background: #3b82f6 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .simple-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    .simple-section-title {
        break-after: avoid;
        page-break-after: avoid;
    }
    .simple-exp-item, .simple-edu-item, .simple-skill-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
