/**
 * CV Maker Pro - Template 10: ATS Modern (Emaa Warner Graphic Designer Layout)
 * Split-column layout (32% sidebar / 68% main content) with circular framed avatar,
 * progress bars, dot indicators, and high-readability ATS hierarchy.
 */

.ats-resume-template {
    width: 100%;
    min-height: 100%;
    background: #ffffff;
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    display: flex;
    position: relative;
}

.ats-resume-template * {
    box-sizing: border-box;
}

/* Table wrapper for 100% PDF/Dompdf compatibility */
.ats-resume-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Sidebar Column (32% Width) */
.ats-sidebar,
.ats-sidebar-td {
    width: 32%;
    min-width: 32%;
    max-width: 32%;
    vertical-align: top;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    padding: 26px 20px;
}

/* Main Content Column (68% Width) */
.ats-main-content,
.ats-main-td {
    width: 68%;
    min-width: 68%;
    max-width: 68%;
    vertical-align: top;
    background: #ffffff;
    padding: 28px 28px;
}

/* Avatar Photo */
.ats-avatar-wrapper {
    text-align: center;
    margin-bottom: 22px;
}

.ats-avatar-wrapper img,
.ats-avatar-img {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a24;
    display: block;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Section Headings */
.ats-section {
    margin-bottom: 20px;
}

.ats-section:last-child {
    margin-bottom: 0;
}

.ats-section h3 {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1a1a24;
    margin: 0 0 12px 0;
    padding-bottom: 4px;
    border-bottom: 2px solid #1a1a24;
    line-height: 1.3;
}

/* Contact List */
.ats-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ats-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #334155;
    margin-bottom: 8px;
    word-break: break-word;
    line-height: 1.4;
}

.ats-contact-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #1a1a24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Language Indicators */
.ats-languages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ats-language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #334155;
}

.ats-lang-name {
    font-weight: 600;
}

.ats-lang-dots {
    display: flex;
    gap: 4px;
}

.ats-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ats-dot.filled {
    background: #1a1a24;
}

/* Skills Progress Bars & Tag Chips */
.ats-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ats-skill-tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    line-height: 1.3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ats-skills-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ats-skill-item {
    width: 100%;
}

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

.ats-skill-bar-bg {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.ats-skill-bar-fill {
    height: 100%;
    background: #1a1a24;
    border-radius: 3px;
}

/* Follow Me (Social) */
.ats-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ats-social-list li {
    font-size: 11px;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
    word-break: break-word;
}

.ats-social-icon {
    flex-shrink: 0;
    font-size: 11px;
    color: #1a1a24;
}

/* Header Area (Main Content) */
.ats-header {
    margin-bottom: 22px;
    border-bottom: 2.5px solid #1a1a24;
    padding-bottom: 14px;
}

.ats-header h1 {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a24;
    margin: 0 0 4px 0;
    line-height: 1.15;
}

.ats-header h2 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    margin: 0;
    line-height: 1.2;
}

/* Profile Summary */
.ats-profile-p {
    font-size: 12px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    text-align: justify;
}

/* Timeline Items (Education & Experience) */
.ats-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ats-timeline-item {
    position: relative;
}

.ats-timeline-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3px;
    flex-wrap: wrap;
    gap: 4px;
}

.ats-timeline-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.ats-timeline-company {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.ats-timeline-date {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 3px;
}

.ats-timeline-desc {
    font-size: 11.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

/* Print & PDF Media Rules */
@media print {
    .ats-resume-template {
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
