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

.zety-cubic-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;
    overflow: hidden;
    color: #334155;
    line-height: 1.5;
}

/* Header Band: Tone 1 */
.cubic-header-band {
    background-color: #1e293b;
    color: #ffffff;
    padding: 36px 40px;
}

.cubic-name {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.cubic-job-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.5px;
}

/* 2-Column Body */
.cubic-body-wrap {
    display: flex;
}

/* Sidebar: Tone 2 (Soft Cool Grey) */
.cubic-sidebar {
    width: 34%;
    background-color: #f1f5f9;
    border-right: 1px solid #e2e8f0;
    padding: 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 26px;
    flex-shrink: 0;
}

.cubic-side-title {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0f172a;
    text-transform: uppercase;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cubic-side-title i {
    color: #2563eb;
    font-size: 0.8rem;
}

.cubic-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cubic-contact-item {
    display: flex;
    flex-direction: column;
}

.cubic-contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.cubic-contact-val {
    font-size: 0.86rem;
    color: #1e293b;
    font-weight: 500;
    word-break: break-word;
}

/* Skill Progress Bars */
.cubic-skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.cubic-skill-score {
    font-size: 0.78rem;
    color: #2563eb;
}

.cubic-meter-track {
    background-color: #e2e8f0;
    height: 7px;
    border-radius: 4px;
    overflow: hidden;
}

.cubic-meter-fill {
    background-color: #2563eb;
    height: 100%;
    border-radius: 4px;
}

/* Education in Sidebar */
.cubic-edu-item {
    margin-bottom: 12px;
}

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

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

.cubic-edu-year {
    font-size: 0.78rem;
    color: #2563eb;
    font-weight: 600;
}

/* Main Column: Tone 3 (Crisp White) */
.cubic-main {
    width: 66%;
    padding: 34px 36px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cubic-section-heading {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #0f172a;
    text-transform: uppercase;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 6px;
    margin: 0 0 16px 0;
}

/* Summary */
.cubic-summary-content {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
}

.cubic-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cubic-bullet-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    line-height: 1.55;
}

.cubic-bullet-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    font-size: 0.65rem;
    top: 3px;
    color: #2563eb;
}

/* Experience */
.cubic-exp-stream {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cubic-exp-card {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.cubic-exp-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cubic-exp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.cubic-exp-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

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

.cubic-exp-company {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2563eb;
    margin: 2px 0 8px 0;
}

.cubic-exp-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
}

.cubic-exp-desc ul {
    margin: 6px 0 0 0;
    padding-left: 18px;
}

.cubic-exp-desc li {
    margin-bottom: 4px;
}

/* Responsive (Screen Only) */
@media screen and (max-width: 768px) {
    .cubic-body-wrap {
        flex-direction: column;
    }
    .cubic-sidebar, .cubic-main {
        width: 100%;
        padding: 24px 20px;
    }
}

/* Print */
@media print {
    body {
        background: none !important;
        padding: 0 !important;
    }
    .zety-cubic-template {
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .cubic-header-band {
        background-color: #1e293b !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        padding: 20px 24px !important;
    }
    .cubic-body-wrap {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
    }
    .cubic-sidebar {
        width: 34% !important;
        flex: 0 0 34% !important;
        background-color: #f1f5f9 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        padding: 20px 16px !important;
    }
    .cubic-main {
        width: 66% !important;
        flex: 0 0 66% !important;
        padding: 24px 20px !important;
    }
    .cubic-meter-fill {
        background-color: #2563eb !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .cubic-side-title, .cubic-main-title {
        break-after: avoid;
        page-break-after: avoid;
    }
    .cubic-exp-card, .cubic-side-block, .cubic-tech-group, .cubic-cert-card, .cubic-skill-meter {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
