
body {
font-family: Arial, sans-serif;
background: #f4f6f8;
margin: 0;
}


header {
background: #1f2937;
color: white;
padding: 20px;
text-align: center;
}


.container {
display: flex;
gap: 20px;
padding: 20px;
}


.form-section, .preview-section {
background: white;
padding: 20px;
width: 50%;
border-radius: 8px;
}


label {
display: block;
margin-top: 10px;
font-weight: bold;
}


input, textarea {
width: 100%;
padding: 8px;
margin-top: 5px;
}


.resume h1 {
margin-bottom: 5px;
}


.resume h3 {
margin-top: 15px;
}

button {
    margin-top: 15px;
    padding: 10px 15px;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #374151;
}
.resume {
    font-family: "Times New Roman", serif;
    padding: 20px;
    color: #111;
    line-height: 1.6;
}

.resume h1 {
    font-size: 26px;
    margin-bottom: 2px;
}

.resume h3 {
    border-bottom: 1px solid #333;
    padding-bottom: 3px;
    margin-top: 18px;
    font-size: 16px;
}

.resume p {
    margin: 4px 0;
    font-size: 14px;
}
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .form-section, .preview-section {
        width: 100%;
    }
}
.resume h3 + p {
    margin-bottom: 10px;
}
/* Template buttons */
.template-buttons {
    margin-bottom: 10px;
}

.template-buttons button {
    margin-right: 8px;
    padding: 6px 12px;
    font-size: 14px;
}

/* CLASSIC TEMPLATE */
.resume.classic {
    font-family: "Times New Roman", serif;
}

/* MODERN TEMPLATE */
.resume.modern {
    font-family: Arial, sans-serif;
}

.resume.modern h1 {
    color: #1f2937;
}

.resume.modern h3 {
    border-bottom: 2px solid #1f2937;
}
/* ================= ATS TEMPLATE ================= */

.resume.ats {
    font-family: "Times New Roman", serif;
    font-size: 14px;
    color: #000;
    background: #fff;
    padding: 25px;
}

.resume.ats h1 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 4px;
}

.resume.ats p {
    margin: 4px 0;
}

.resume.ats h3 {
    font-size: 15px;
    margin-top: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    text-transform: uppercase;
}
/* ================= MODERN TEMPLATE ================= */

.resume.modern {
    font-family: Arial, sans-serif;
    background: #ffffff;
    padding: 30px;
    color: #1f2937;
}

.resume.modern h1 {
    font-size: 26px;
    color: #1f2937;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.resume.modern h3 {
    font-size: 15px;
    margin-top: 18px;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 4px;
    color: #2563eb;
}

.resume.modern p {
    font-size: 14px;
}
/* ================= SIDEBAR TEMPLATE ================= */

.resume.sidebar {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 20px;
    padding: 25px;
    font-family: Arial, sans-serif;
}

.sidebar-left {
    background: #f3f4f6;
    padding: 15px;
}

.sidebar-left h1 {
    font-size: 22px;
    margin-bottom: 6px;
}

.sidebar-left h3 {
    margin-top: 14px;
    border-bottom: 1px solid #111;
}

.sidebar-right h3 {
    margin-top: 12px;
    border-bottom: 1px solid #111;
}
/* ================= FRESHER TEMPLATE ================= */

.resume.fresher {
    font-family: Arial, sans-serif;
    padding: 28px;
}

.resume.fresher h1 {
    font-size: 24px;
}

.resume.fresher h3 {
    margin-top: 16px;
    border-bottom: 1px solid #000;
}

.resume.fresher #preview-projects {
    margin-bottom: 10px;
}
.template-buttons button {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
}

.template-buttons small {
    display: block;
    font-size: 12px;
    color: #555;
}
.active-template {
    background: #2563eb;
    color: #fff;
}
.hero {
    text-align: center;
    padding: 30px 10px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.hero p {
    font-size: 16px;
    color: #2563eb;
    font-weight: 500;
}
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
}

.hero .tagline {
    font-size: 15px;
    margin-top: 8px;
    color: #444;
}
