/* =========================================================
   GLOBAL
========================================================= */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --dark: #172033;
    --text: #374151;
    --muted: #6b7280;

    --border: #e5e7eb;
    --background: #f5f7fb;
    --white: #ffffff;

    --danger: #dc2626;

    --radius: 14px;

}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Nunito Sans",
        Arial,
        sans-serif;

    background: var(--background);

    color: var(--text);

}


button,
input,
textarea {
    font-family: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   HEADER
========================================================= */

.rb-header {

    background: #ffffff;

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;

}


.rb-header-inner {

    width: min(1450px, 94%);

    margin: auto;

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.rb-logo {

    text-decoration: none;

}


.rb-logo span {

    font-family: "Raleway", sans-serif;

    font-size: 26px;

    font-weight: 900;

    letter-spacing: 1px;

    color: var(--dark);

}


.rb-back-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 17px;

    border-radius: 8px;

    background: #1e2a4a;

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: .2s;

}


.rb-back-btn:hover {

    background: var(--primary-dark);

    color: white;

    transform: translateY(-1px);

}



/* =========================================================
   MAIN
========================================================= */

.rb-main {

    width: min(1450px, 94%);

    margin: 0 auto;

    padding: 45px 0 70px;

}


.rb-page-heading {

    margin-bottom: 35px;

}


.rb-eyebrow {

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: 800;

    color: var(--primary);

}


.rb-page-heading h1 {

    margin: 5px 0;

    font-family: "Raleway", sans-serif;

    font-size: 38px;

    font-weight: 800;

    color: var(--dark);

}


.rb-page-heading p {

    margin: 0;

    color: var(--muted);

    font-size: 16px;

}



/* =========================================================
   TEMPLATE SECTION
========================================================= */

.template-section {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 25px;

    margin-bottom: 30px;

    box-shadow: 0 5px 25px rgba(0,0,0,.03);

}


.section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

}


.section-heading h2 {

    margin: 0;

    font-size: 21px;

    font-weight: 800;

    color: var(--dark);

}


.section-heading h2 i {

    color: var(--primary);

}


.section-heading p {

    margin: 4px 0 0;

    color: var(--muted);

    font-size: 13px;

}


.selected-template-label {

    background: #eff6ff;

    color: #1d4ed8;

    border-radius: 30px;

    padding: 9px 15px;

    font-size: 13px;

}


.selected-template-label strong {

    font-weight: 800;

}



/* =========================================================
   TEMPLATE GRID
========================================================= */

.template-grid {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(170px, 1fr));

    gap: 15px;

}


.template-card {

    border: 2px solid var(--border);

    border-radius: 12px;

    padding: 10px;

    background: white;

    transition: .25s;

    position: relative;

}


.template-card:hover {

    border-color: #93c5fd;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(37,99,235,.10);

}


.template-card.active {

    border-color: var(--primary);

    box-shadow:
        0 8px 25px rgba(37,99,235,.12);

}


.template-thumbnail {

    height: 210px;

    overflow: hidden;

    border-radius: 7px;

    background: #eef1f5;

    padding: 10px;

}


.template-info {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 5px;

    padding: 12px 2px 8px;

}


.template-info h3 {

    margin: 0;

    color: var(--dark);

    font-size: 14px;

    font-weight: 800;

}


.template-info span {

    display: block;

    margin-top: 2px;

    font-size: 10px;

    color: var(--muted);

}


.template-preview-btn {

    border: 0;

    background: transparent;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

}


.use-template-btn {

    width: 100%;

    border: 0;

    border-radius: 7px;

    padding: 8px;

    font-size: 12px;

    font-weight: 800;

    background: #f1f5f9;

    color: #475569;

}


.template-card.active .use-template-btn {

    background: var(--primary);

    color: white;

}



/* =========================================================
   MINI TEMPLATE PREVIEWS
========================================================= */

.mini-resume {

    width: 100%;

    height: 100%;

    background: white;

    box-shadow: 0 3px 10px rgba(0,0,0,.08);

    overflow: hidden;

    padding: 13px;

}


.mini-line {

    height: 6px;

    border-radius: 5px;

    background: #d1d5db;

    margin-bottom: 5px;

}


.mini-line.large {
    width: 80%;
}


.mini-line.medium {
    width: 55%;
}


.mini-photo {

    width: 35px;

    height: 35px;

    border-radius: 50%;

    background: #dbeafe;

    flex-shrink: 0;

}


.mini-header {

    display: flex;

    align-items: center;

    gap: 8px;

    padding-bottom: 12px;

}


.mini-section {

    margin-top: 13px;

}


.mini-section span {

    display: block;

    height: 4px;

    background: #e5e7eb;

    border-radius: 4px;

    margin-bottom: 5px;

}


.mini-section span:nth-child(1) {
    width: 90%;
}


.mini-section span:nth-child(2) {
    width: 75%;
}


.mini-section span:nth-child(3) {
    width: 85%;
}



/* MODERN */

.modern-mini {

    border-top: 7px solid #2563eb;

}


.modern-mini .mini-header {

    border-bottom: 1px solid #e5e7eb;

}



/* CLASSIC */

.classic-mini {

    text-align: center;

}


.classic-mini-name {

    width: 65%;

    height: 9px;

    margin: 3px auto 7px;

    background: #1f2937;

    border-radius: 3px;

}


.classic-mini-title {

    width: 45%;

    height: 5px;

    margin: auto;

    background: #9ca3af;

}


.classic-divider {

    height: 1px;

    background: #1f2937;

    margin: 13px 0;

}



/* MINIMAL */

.minimal-mini {

    padding: 16px;

}


.minimal-mini-name {

    width: 65%;

    height: 9px;

    background: #111827;

    margin-bottom: 6px;

}


.minimal-mini-title {

    width: 40%;

    height: 5px;

    background: #9ca3af;

    margin-bottom: 20px;

}



/* CORPORATE */

.corporate-mini {

    padding: 0;

    display: grid;

    grid-template-columns: 35% 65%;

}


.corporate-left {

    background: #172033;

    padding: 12px;

}


.corporate-left .mini-photo {

    margin-bottom: 15px;

}


.corporate-left span {

    display: block;

    height: 4px;

    background: #64748b;

    margin-bottom: 7px;

    border-radius: 3px;

}


.corporate-right {

    padding: 12px;

}



/* CREATIVE */

.creative-mini {

    padding: 0 12px 12px;

}


.creative-mini-top {

    height: 15px;

    background: #7c3aed;

    margin: 0 -12px 14px;

}


.creative-mini-name {

    width: 65%;

    height: 9px;

    background: #1f2937;

    margin-bottom: 6px;

}


.creative-mini-title {

    width: 40%;

    height: 5px;

    background: #a78bfa;

    margin-bottom: 15px;

}



/* ELEGANT */

.elegant-mini {

    padding: 12px;

}


.elegant-mini-top {

    display: flex;

    gap: 8px;

    align-items: center;

    padding-bottom: 12px;

    border-bottom: 1px solid #d1d5db;

}



/* =========================================================
   BUILDER
========================================================= */

.builder-layout {

    display: grid;

    grid-template-columns: 460px minmax(0, 1fr);

    gap: 25px;

    align-items: start;

}


.resume-form-panel,
.resume-preview-panel {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 5px 25px rgba(0,0,0,.04);

}


.resume-form-panel {

    padding: 25px;

}


.panel-heading {

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);

    margin-bottom: 20px;

}


.panel-heading h2,
.preview-heading h2 {

    margin: 0;

    color: var(--dark);

    font-size: 20px;

    font-weight: 800;

}


.panel-heading h2 i,
.preview-heading h2 i {

    color: var(--primary);

}


.panel-heading p {

    margin: 4px 0 0;

    color: var(--muted);

    font-size: 13px;

}



/* =========================================================
   FORM
========================================================= */

.form-section {

    margin-bottom: 28px;

}


.form-section > h3 {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;

    font-weight: 800;

    color: var(--dark);

    margin-bottom: 17px;

}


.form-section > h3 span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

    border-radius: 8px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 11px;

}


.form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}


.form-group {

    margin-bottom: 15px;

}


.form-group.full {

    grid-column: 1 / -1;

}


.form-group label {

    display: block;

    margin-bottom: 6px;

    color: #374151;

    font-size: 13px;

    font-weight: 700;

}


.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid #d7dce3;

    background: #fbfcfe;

    border-radius: 8px;

    padding: 10px 12px;

    outline: none;

    color: #1f2937;

    font-size: 13px;

    transition: .2s;

}


.form-group textarea {

    resize: vertical;

    line-height: 1.5;

}


.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--primary);

    background: white;

    box-shadow:
        0 0 0 3px rgba(37,99,235,.08);

}


.form-group small {

    display: block;

    margin-top: 5px;

    color: #9ca3af;

    font-size: 11px;

}



/* =========================================================
   BUTTONS
========================================================= */

.builder-buttons {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    padding-top: 5px;

}


.builder-buttons button {

    border: 0;

    border-radius: 8px;

    padding: 11px 14px;

    font-size: 12px;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

}


.btn-generate {

    background: #1e2a4a;

    color: white;

}


.btn-generate:hover {

    background: var(--primary-dark);

}


.btn-download {

    background: #1e2a4a;

    color: white;

}


.btn-clear {

    background: #1e2a4a;

    color: white;

}



/* =========================================================
   PREVIEW
========================================================= */

.resume-preview-panel {

    position: sticky;

    top: 95px;

    overflow: hidden;

}


.preview-heading {

    min-height: 70px;

    padding: 15px 18px;

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.preview-heading span {

    font-size: 12px;

    color: var(--muted);

}


.preview-fullscreen-btn {

    border: 1px solid var(--border);

    background: white;

    border-radius: 8px;

    width: 38px;

    height: 38px;

    color: var(--dark);

}


.resume-preview-wrapper {

    background: #e9edf3;

    padding: 30px;

    min-height: 850px;

    overflow: auto;

}


#resume {

    width: 794px;

    min-height: 1123px;

    margin: auto;

    background: white;

    box-shadow:
        0 10px 35px rgba(0,0,0,.15);

}



/* =========================================================
   TEMPLATE BASE
========================================================= */

.resume-template {

    min-height: 1123px;

    width: 794px;

    background: white;

    color: #202733;

    font-family: "Roboto", sans-serif;

    font-size: 13px;

    line-height: 1.5;

}


.resume-template h1,
.resume-template h2,
.resume-template h3,
.resume-template p {

    margin-top: 0;

}


.resume-template h1 {

    font-family: "Raleway", sans-serif;

}


.resume-template section {

    margin-bottom: 20px;

}


.resume-template section h2 {

    font-size: 15px;

    font-weight: 800;

    margin-bottom: 8px;

}


.resume-template p {

    white-space: pre-line;

}



/* =========================================================
   PHOTO
========================================================= */

.resume-photo {

    width: 105px;

    height: 105px;

    object-fit: cover;

    border-radius: 50%;

}


.resume-photo.hidden {

    display: none;

}



/* =========================================================
   MODERN TEMPLATE
========================================================= */

.template-modern {

    padding: 42px;
      border-top: 7px solid #2563eb;


}


.modern-header {

    display: flex;

    gap: 25px;

    align-items: center;

    padding-bottom: 25px;

    border-bottom: 3px solid #2563eb;

}


.modern-header-info {

    flex: 1;

}


.modern-header h1 {

    margin: 0;

    color: #172033;

    font-size: 34px;

    font-weight: 800;

}


.modern-header h3 {

    margin: 5px 0 12px;

    color: #2563eb;

    font-size: 17px;

    font-weight: 600;

}


.contact-line {

    color: #64748b;

    font-size: 12px;

}


.modern-section {

    margin-top: 24px;

}


.modern-section h2 {

    color: #2563eb;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-bottom: 1px solid #dbeafe;

    padding-bottom: 5px;

}


.skills-modern {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}


.skills-modern span {

    background: #eff6ff;

    color: #1d4ed8;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

}



/* =========================================================
   CLASSIC TEMPLATE
========================================================= */

.template-classic {

    padding: 48px;

    font-family: "Times New Roman", serif;

}


.classic-header {

    text-align: center;

}


.classic-header h1 {

    font-size: 33px;

    margin-bottom: 4px;

}


.classic-header h3 {

    font-size: 16px;

    font-weight: normal;

    margin-bottom: 10px;

}


.classic-contact {

    font-family: Arial, sans-serif;

    font-size: 11px;

    color: #444;

}


.classic-rule {

    height: 1px;

    background: #222;

    margin: 22px 0;

}


.classic-section h2 {

    font-size: 14px;

    text-transform: uppercase;

    border-bottom: 1px solid #222;

    padding-bottom: 4px;

}


.classic-section p {

    font-size: 12px;

}


.classic-photo {

    width: 90px;

    height: 90px;

    object-fit: cover;

    border-radius: 3px;

    margin-bottom: 10px;

}



/* =========================================================
   MINIMAL TEMPLATE
========================================================= */

.template-minimal {

    padding: 55px;

}


.minimal-header {

    margin-bottom: 35px;

}


.minimal-header h1 {

    font-size: 38px;

    font-weight: 800;

    margin-bottom: 4px;

}


.minimal-header h3 {

    color: #6b7280;

    font-weight: 400;

    font-size: 16px;

}


.minimal-contact {

    color: #6b7280;

    font-size: 11px;

    margin-top: 15px;

}


.minimal-section {

    margin-bottom: 28px;

}


.minimal-section h2 {

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #111827;

}


.minimal-section p {

    color: #4b5563;

}


.minimal-photo {

    width: 95px;

    height: 95px;

    object-fit: cover;

    border-radius: 50%;

    float: right;

}



/* =========================================================
   CORPORATE TEMPLATE
========================================================= */

.template-corporate {

    display: grid;

    grid-template-columns: 235px 1fr;

    min-height: 1123px;

}


.corporate-sidebar {

    background: #172033;

    color: white;

    padding: 35px 25px;

}


.corporate-main {

    padding: 40px;

}


.corporate-sidebar .resume-photo {

    margin-bottom: 20px;

}


.corporate-sidebar h3 {

    color: white;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-top: 25px;

    margin-bottom: 10px;

}


.corporate-sidebar p {

    font-size: 11px;

    color: #cbd5e1;

    white-space: pre-line;

}


.corporate-sidebar .skills-modern {

    display: block;

}


.corporate-sidebar .skills-modern span {

    display: block;

    margin-bottom: 6px;

    background: #26344f;

    color: #e2e8f0;

}


.corporate-main h1 {

    color: #172033;

    font-size: 35px;

    margin-bottom: 4px;

}


.corporate-main > .corporate-title {

    color: #2563eb;

    font-size: 15px;

    margin-bottom: 30px;

}


.corporate-main section h2 {

    color: #2563eb;

    text-transform: uppercase;

    font-size: 13px;

    letter-spacing: 1px;

}



/* =========================================================
   CREATIVE TEMPLATE
========================================================= */

.template-creative {

    padding: 0;

}


.creative-top {

    height: 170px;

    background:
        linear-gradient(
            135deg,
            #6d28d9,
            #9333ea
        );

    color: white;

    padding: 38px 45px;

    display: flex;

    align-items: center;

    gap: 25px;

}


.creative-top h1 {

    font-size: 34px;

    margin-bottom: 3px;

}


.creative-top h3 {

    font-size: 15px;

    font-weight: 400;

}


.creative-photo {

    width: 105px;

    height: 105px;

    object-fit: cover;

    border-radius: 18px;

    border: 4px solid white;

}


.creative-body {

    padding: 35px 45px;

}


.creative-section {

    margin-bottom: 23px;

}


.creative-section h2 {

    color: #7c3aed;

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.creative-contact {

    color: #e9d5ff;

    font-size: 11px;

}



/* =========================================================
   ELEGANT TEMPLATE
========================================================= */

.template-elegant {

    padding: 45px;

}


.elegant-header {

    display: flex;

    align-items: center;

    gap: 25px;

    padding-bottom: 22px;

    border-bottom: 1px solid #d1d5db;

}


.elegant-header h1 {

    font-size: 35px;

    letter-spacing: .5px;

    color: #111827;

}


.elegant-header h3 {

    color: #9a7650;

    font-size: 15px;

    font-weight: 500;

}


.elegant-contact {

    font-size: 11px;

    color: #6b7280;

}


.elegant-section {

    margin-top: 25px;

}


.elegant-section h2 {

    color: #9a7650;

    text-transform: uppercase;

    font-size: 13px;

    letter-spacing: 1.5px;

}


.elegant-photo {

    width: 105px;

    height: 105px;

    object-fit: cover;

    border-radius: 50%;

}



/* =========================================================
   TEMPLATE MODAL
========================================================= */

.template-modal {

    display: none;

    position: fixed;

    inset: 0;

    z-index: 5000;

}


.template-modal.active {

    display: block;

}


.template-modal-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(15,23,42,.75);

    backdrop-filter: blur(5px);

}


.template-modal-content {

    position: relative;

    width: min(900px, 94%);

    max-height: 92vh;

    margin: 4vh auto;

    background: white;

    border-radius: 15px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow:
        0 30px 80px rgba(0,0,0,.3);

}


.template-modal-header {

    padding: 18px 22px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid var(--border);

}


.template-modal-header span {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--primary);

}


.template-modal-header h2 {

    margin: 2px 0 0;

    font-size: 20px;

    color: var(--dark);

}


.modal-close {

    border: 0;

    background: #f1f5f9;

    width: 38px;

    height: 38px;

    border-radius: 50%;

}


.template-modal-body {

    flex: 1;

    overflow: auto;

    background: #e9edf3;

    padding: 30px;

}


.modal-resume-container {

    width: 794px;

    margin: auto;

}


.template-modal-footer {

    padding: 15px 22px;

    border-top: 1px solid var(--border);

    display: flex;

    justify-content: flex-end;

}


.modal-use-btn {

    border: 0;

    background: var(--primary);

    color: white;

    padding: 11px 20px;

    border-radius: 8px;

    font-weight: 800;

}



/* =========================================================
   FULLSCREEN
========================================================= */

.fullscreen-preview {

    display: none;

    position: fixed;

    inset: 0;

    z-index: 6000;

    background: #e9edf3;

}


.fullscreen-preview.active {

    display: flex;

    flex-direction: column;

}


.fullscreen-header {

    height: 60px;

    padding: 0 20px;

    background: white;

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.fullscreen-header button {

    border: 0;

    background: #f1f5f9;

    border-radius: 50%;

    width: 36px;

    height: 36px;

}


.fullscreen-body {

    flex: 1;

    overflow: auto;

    padding: 35px;

}


#fullscreenResume {

    width: 794px;

    margin: auto;

}



/* =========================================================
   PRINT
========================================================= */

@media print {

    body * {

        visibility: hidden;

    }

    #resume,
    #resume * {

        visibility: visible;

    }

    #resume {

        position: absolute;

        left: 0;

        top: 0;

        box-shadow: none;

    }

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

    .template-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .builder-layout {

        grid-template-columns: 400px 1fr;

    }

}


@media (max-width: 1000px) {

    .builder-layout {

        grid-template-columns: 1fr;

    }


    .resume-preview-panel {

        position: static;

    }


    .resume-form-panel {

        order: 1;

    }


    .resume-preview-panel {

        order: 2;

    }

}


@media (max-width: 700px) {

    .rb-main {

        width: 94%;

        padding-top: 25px;

    }


    .rb-header-inner {

        min-height: 62px;

    }


    .rb-back-btn {

        padding: 8px 10px;

        font-size: 11px;

    }


    .rb-page-heading h1 {

        font-size: 30px;

    }


    .template-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .section-heading {

        flex-direction: column;

        align-items: flex-start;

    }


    .form-grid {

        grid-template-columns: 1fr;

    }


    .form-group.full {

        grid-column: auto;

    }


    .resume-form-panel {

        padding: 18px;

    }


    .resume-preview-wrapper {

        padding: 10px;

        overflow-x: auto;

    }


    .builder-buttons {

        flex-direction: column;

    }


    .builder-buttons button {

        width: 100%;

    }

}


@media (max-width: 450px) {

    .template-grid {

        grid-template-columns: 1fr;

    }


    .template-thumbnail {

        height: 260px;

    }


    .rb-logo span {

        font-size: 20px;

    }


    .rb-back-btn {

        font-size: 10px;

    }

}


/* =========================================================
   ADDITIONAL TEMPLATE MINI PREVIEWS
========================================================= */


/* =========================================================
   EXECUTIVE
========================================================= */

.executive-mini {

    border-top: 5px solid #111827;

    padding-top: 15px;

}


.executive-mini-header {

    padding-bottom: 12px;

    border-bottom: 2px solid #111827;

}



/* =========================================================
   TECH PRO
========================================================= */

.tech-mini {

    background: #0f172a;

    color: white;

}


.tech-mini-header {

    display: flex;

    align-items: center;

    gap: 8px;

    padding-bottom: 10px;

    border-bottom: 1px solid #334155;

}


.tech-mini .mini-line {

    background: #64748b;

}


.tech-code-line {

    width: 70%;

    height: 4px;

    margin-top: 9px;

    background: #22c55e;

    border-radius: 3px;

}


.tech-mini .mini-section span {

    background: #334155;

}



/* =========================================================
   STUDENT
========================================================= */

.student-mini {

    border-left: 6px solid #0ea5e9;

}


.student-mini-header {

    padding-bottom: 10px;

    border-bottom: 1px solid #bae6fd;

}


.student-mini-badge {

    width: 45%;

    height: 7px;

    margin-top: 12px;

    background: #0ea5e9;

    border-radius: 3px;

}



/* =========================================================
   TIMELINE
========================================================= */

.timeline-mini {

    padding-left: 20px;

}


.timeline-mini-title {

    width: 60%;

    height: 9px;

    background: #7c3aed;

    margin-bottom: 15px;

}


.timeline-mini-item {

    position: relative;

    padding-left: 15px;

    min-height: 38px;

    border-left: 2px solid #c4b5fd;

}


.timeline-mini-item i {

    position: absolute;

    left: -5px;

    top: 0;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #7c3aed;

}


.timeline-mini-item span {

    display: block;

    width: 80%;

    height: 5px;

    background: #e5e7eb;

}



/* =========================================================
   SIDEBAR BLUE
========================================================= */

.sidebar-mini {

    display: grid;

    grid-template-columns: 35% 65%;

    padding: 0;

}


.sidebar-mini-left {

    background: #2563eb;

    padding: 12px;

}


.sidebar-mini-left span {

    display: block;

    height: 4px;

    margin-top: 7px;

    background: #bfdbfe;

    border-radius: 3px;

}


.sidebar-mini-right {

    padding: 12px;

}



/* =========================================================
   MONOCHROME
========================================================= */

.monochrome-mini {

    color: #111827;

}


.mono-name {

    width: 70%;

    height: 10px;

    background: #111827;

}


.mono-rule {

    width: 100%;

    height: 2px;

    margin-top: 8px;

    background: #111827;

}


.mono-columns {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 15px;

}


.mono-columns div {

    height: 50px;

    border-top: 2px solid #111827;

}



/* =========================================================
   EXECUTIVE TEMPLATE
========================================================= */

.template-executive {

    padding: 48px;
      border-top: 5px solid #111827;

}


.executive-header {

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

    border-bottom: 3px solid #111827;

    padding-bottom: 22px;

    margin-bottom: 25px;

}


.executive-header h1 {

    font-size: 35px;

    margin-bottom: 5px;

    color: #111827;

}


.executive-header h3 {

    font-size: 15px;

    color: #6b7280;

    font-weight: 500;

}


.executive-contact {

    font-size: 11px;

    color: #4b5563;

}


.executive-photo {

    width: 95px;

    height: 95px;

    object-fit: cover;

    border-radius: 5px;

}


.executive-section {

    margin-bottom: 23px;

}


.executive-section h2 {

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: #111827;

    border-bottom: 1px solid #d1d5db;

    padding-bottom: 5px;

}



/* =========================================================
   TECH PRO TEMPLATE
========================================================= */

.template-tech {

    background: #0f172a;

    color: #e2e8f0;

    min-height: 1123px;

}


.tech-header {

    padding: 40px 45px;

    background: #111827;

    border-bottom: 2px solid #22c55e;

    display: flex;

    gap: 22px;

    align-items: center;

}


.tech-header h1 {

    color: white;

    font-size: 34px;

    margin-bottom: 4px;

}


.tech-header h3 {

    color: #22c55e;

    font-size: 15px;

}


.tech-contact {

    color: #94a3b8;

    font-size: 11px;

}


.tech-photo {

    width: 100px;

    height: 100px;

    object-fit: cover;

    border-radius: 12px;

    border: 2px solid #22c55e;

}


.tech-body {

    padding: 35px 45px;

}


.tech-section {

    margin-bottom: 25px;

}


.tech-section h2 {

    color: #22c55e;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.tech-section p {

    color: #cbd5e1;

}


.skills-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}


.skills-tech span {

    background: #1e293b;

    border: 1px solid #334155;

    color: #86efac;

    padding: 5px 9px;

    border-radius: 5px;

    font-size: 11px;

}



/* =========================================================
   STUDENT TEMPLATE
========================================================= */

.template-student {
     border-left: 7px solid #0ea5e9 ;

    padding: 40px;

}


.student-header {

    padding: 28px;

    background: #eff6ff;

    border-left: 7px solid #0ea5e9;

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;

}


.student-header h1 {

    color: #0f172a;

    font-size: 32px;

    margin-bottom: 4px;

}


.student-header h3 {

    color: #0284c7;

    font-size: 15px;

}


.student-contact {

    color: #64748b;

    font-size: 11px;

}


.student-photo {

    width: 90px;

    height: 90px;

    object-fit: cover;

    border-radius: 12px;

}


.student-section {

    margin-bottom: 22px;

}


.student-section h2 {

    font-size: 14px;

    color: #0284c7;

    border-bottom: 1px solid #bae6fd;

    padding-bottom: 5px;

}


.student-highlight {

    background: #f0f9ff;

    border: 1px solid #bae6fd;

    border-radius: 8px;

    padding: 12px;

}



/* =========================================================
   TIMELINE TEMPLATE
========================================================= */

.template-timeline {

    padding: 45px;

}


.timeline-header {

    margin-bottom: 35px;

}


.timeline-header h1 {

    font-size: 36px;

    color: #312e81;

    margin-bottom: 4px;

}


.timeline-header h3 {

    color: #7c3aed;

    font-size: 15px;

}


.timeline-contact {

    color: #6b7280;

    font-size: 11px;

    margin-top: 8px;

}


.timeline-section {

    position: relative;

    padding-left: 28px;

    border-left: 2px solid #c4b5fd;

    margin-bottom: 25px;

}


.timeline-section::before {

    content: "";

    position: absolute;

    left: -6px;

    top: 0;

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #7c3aed;

}


.timeline-section h2 {

    color: #6d28d9;

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.timeline-photo {

    width: 90px;

    height: 90px;

    object-fit: cover;

    border-radius: 50%;

    float: right;

}



/* =========================================================
   SIDEBAR BLUE TEMPLATE
========================================================= */

.template-sidebar {

    display: grid;

    grid-template-columns: 220px 1fr;

    min-height: 1123px;

}


.sidebar-blue-left {

    background: #2563eb;

    color: white;

    padding: 35px 22px;

}


.sidebar-blue-right {

    padding: 40px;

}


.sidebar-blue-left .resume-photo {

    margin-bottom: 20px;

}


.sidebar-blue-left h3 {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: white;

    margin-top: 22px;

}


.sidebar-blue-left p {

    color: #dbeafe;

    font-size: 11px;

}


.sidebar-blue-left .skills-modern span {

    display: block;

    background: #1d4ed8;

    color: #dbeafe;

    margin-bottom: 6px;

}


.sidebar-blue-right h1 {

    color: #172033;

    font-size: 35px;

    margin-bottom: 4px;

}


.sidebar-blue-title {

    color: #2563eb;

    font-size: 15px;

    margin-bottom: 28px;

}


.sidebar-blue-right section {

    margin-bottom: 23px;

}


.sidebar-blue-right section h2 {

    color: #2563eb;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;

}



/* =========================================================
   MONOCHROME TEMPLATE
========================================================= */

.template-monochrome {

    padding: 50px;

    color: #111827;

}


.monochrome-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    border-bottom: 3px solid #111827;

    padding-bottom: 18px;

    margin-bottom: 25px;

}


.monochrome-header h1 {

    font-size: 36px;

    margin-bottom: 3px;

}


.monochrome-header h3 {

    font-size: 15px;

    font-weight: 500;

}


.monochrome-contact {

    font-size: 11px;

    color: #4b5563;

}


.monochrome-photo {

    width: 85px;

    height: 85px;

    object-fit: cover;

    border-radius: 3px;

}


.monochrome-section {

    margin-bottom: 23px;

}


.monochrome-section h2 {

    font-size: 13px;

    text-transform: uppercase;

    border-bottom: 1px solid #9ca3af;

    padding-bottom: 5px;

    margin-bottom: 8px;

}


.monochrome-skills {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 5px 20px;

}


.monochrome-skills span {

    font-size: 11px;

}

/* =========================================================
   TEMPLATE STYLE OVERRIDES
   Keep this section at the VERY END of resume-builder.css
========================================================= */


/* =========================================================
   EXECUTIVE
========================================================= */

#resume .template-executive {

    border-top: 6px solid #111827 ;

    padding: 48px ;

    background: #ffffff ;

    color: #111827;

    box-sizing: border-box;

}


#resume .template-executive .executive-header {

    border-bottom: 3px solid #111827 ;

    padding-bottom: 22px;

    margin-bottom: 25px;

}


#resume .template-executive .executive-header h1 {

    color: #111827;

}


#resume .template-executive .executive-header h3 {

    color: #6b7280 ;

}


#resume .template-executive .executive-section h2 {

    color: #111827 ;

    border-bottom: 1px solid #d1d5db ;

}


/* =========================================================
   STUDENT
========================================================= */

#resume .template-student {

    border-left: 7px solid #0ea5e9 ;

    padding: 40px;

    background: #ffffff ;

    color: #172033;

    box-sizing: border-box;

}


#resume .template-student .student-header {

    border-left: 7px solid #0ea5e9 ;

    background: #eff6ff;

}


#resume .template-student .student-header h1 {

    color: #0f172a ;

}


#resume .template-student .student-header h3 {

    color: #0284c7;

}


#resume .template-student .student-section h2 {

    color: #0284c7;

    border-bottom: 1px solid #bae6fd ;

}


#resume .template-student .student-highlight {

    background: #f0f9ff;

    border: 1px solid #bae6fd;

}


/* =========================================================
   TECH PRO
========================================================= */

#resume .template-tech {

    background: #0f172a;

    color: #e2e8f0 ;

    min-height: 1123px;

    box-sizing: border-box;

}


#resume .template-tech .tech-header {

    background: #111827 ;

    border-bottom: 2px solid #22c55e ;

}


#resume .template-tech .tech-header h1 {

    color: #ffffff;

}


#resume .template-tech .tech-header h3 {

    color: #22c55e;

}


#resume .template-tech .tech-section h2 {

    color: #22c55e;

}


#resume .template-tech .tech-section p {

    color: #cbd5e1 ;

}


/* =========================================================
   TIMELINE
========================================================= */

#resume .template-timeline {

    border-left: 0;

    padding: 45px;

    background: #ffffff;

    color: #374151;

    box-sizing: border-box;

}


#resume .template-timeline .timeline-section {

    border-left: 2px solid #c4b5fd ;

}


#resume .template-timeline .timeline-section::before {

    background: #7c3aed;

}


#resume .template-timeline .timeline-section h2 {

    color: #6d28d9 ;

}


/* =========================================================
   SIDEBAR BLUE
========================================================= */

#resume .template-sidebar {

    display: grid;

    grid-template-columns: 220px 1fr;

    padding: 0;

    min-height: 1123px;

    background: #ffffff;

    box-sizing: border-box;

}


#resume .template-sidebar .sidebar-blue-left {

    background: #2563eb;

    color: #ffffff;

}


#resume .template-sidebar .sidebar-blue-right {

    background: #ffffff;

}


#resume .template-sidebar .sidebar-blue-left h3 {

    color: #ffffff ;

}


#resume .template-sidebar .sidebar-blue-left p {

    color: #dbeafe;

}


#resume .template-sidebar .sidebar-blue-right h1 {

    color: #172033;

}


#resume .template-sidebar .sidebar-blue-right h2 {

    color: #2563eb ;

}


/* =========================================================
   MONOCHROME
========================================================= */

#resume .template-monochrome {

    border-left: 0;

    border-right: 0 ;

    border-top: 0 ;

    padding: 50px ;

    background: #ffffff;

    color: #111827;

    box-sizing: border-box;

}


#resume .template-monochrome .monochrome-header {

    border-bottom: 3px solid #111827;

}


#resume .template-monochrome .monochrome-header h1 {

    color: #111827 ;

}


#resume .template-monochrome .monochrome-header h3 {

    color: #111827;

}


#resume .template-monochrome .monochrome-section h2 {

    color: #111827 ;

    border-bottom: 1px solid #9ca3af ;

}


/* =========================================================
   CREATIVE
========================================================= */

#resume .template-creative {

    background: #ffffff;

}


/* =========================================================
   ELEGANT
========================================================= */

#resume .template-elegant {

    background: #ffffff ;

}


/* =========================================================
   MODERN
========================================================= */

#resume .template-modern {

    background: #ffffff ;

}