.card {
    height: 100%;
}

.resume {
    display: none;
}

.resume-print-root {
    display: none;
}

@media screen and (min-width: 601px) {
    #resumeContainer {
        min-width: 600px;
    }
}

.checkbox {
    margin: 10px;
}

.checkbox {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox .fa-plus {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    text-align: center;
    line-height: 20px;
    border-radius: 4px;
}

.checkbox input:checked ~ .fa-plus {
    background-color: #aae884;
    color: white;
}

.fa-circle-check {
    color: #33841d;
}

.score-container {
    position: relative;
    margin-bottom: 20px;
}

.score-display {
    display: flex;
    align-items: center;
}

#resumeScore {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 10px;
}

#scoreProgressBar {
    margin-top: 10px;
    height: 18px;
}

@media (max-width: 768px) {
    #addSkillField {
        flex-wrap: wrap;
    }
    #addSkillField .control {
        width: 100%;
        margin-bottom: 10px;
    }
    #addSkillField .control:last-child {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1025px) {
    .hero-body {
        padding-left: 12vw;
        padding-right: 12vw;
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    html,
    body {
        background: #ffffff !important;
    }

    body > header,
    body > main,
    body > footer {
        display: none !important;
    }

    .resume-print-root {
        display: block !important;
        color: #20242a;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10.5pt;
        line-height: 1.45;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .resume-sheet {
        min-height: 273mm;
        background: #ffffff;
    }

    .resume-header {
        align-items: flex-start;
        border-bottom: 2px solid #2f6f73;
        display: flex;
        gap: 18mm;
        justify-content: space-between;
        padding-bottom: 8mm;
    }

    .resume-heading {
        min-width: 0;
    }

    .resume-kicker {
        color: #2f6f73;
        font-size: 10pt;
        font-weight: 700;
        letter-spacing: 0;
        margin: 0 0 2mm;
        text-transform: uppercase;
    }

    .resume-header h1 {
        color: #15191f;
        font-size: 26pt;
        font-weight: 800;
        line-height: 1.1;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .resume-contacts {
        display: flex;
        flex-wrap: wrap;
        gap: 2mm 7mm;
        list-style: none;
        margin: 5mm 0 0;
        padding: 0;
    }

    .resume-contacts li {
        color: #4b5563;
        font-size: 9.5pt;
        overflow-wrap: anywhere;
    }

    .resume-photo,
    .resume-initials {
        border-radius: 50%;
        flex: 0 0 28mm;
        height: 28mm;
        width: 28mm;
    }

    .resume-photo {
        object-fit: cover;
    }

    .resume-initials {
        align-items: center;
        background: #e7f1ef;
        border: 1px solid #bfd5d2;
        color: #2f6f73;
        display: flex;
        font-size: 16pt;
        font-weight: 800;
        justify-content: center;
    }

    .resume-layout {
        display: grid;
        gap: 10mm;
        grid-template-columns: 62mm minmax(0, 1fr);
        padding-top: 8mm;
    }

    .resume-sidebar {
        background: #f3f8f7;
        border-left: 4px solid #2f6f73;
        padding: 7mm;
    }

    .resume-main {
        min-width: 0;
    }

    .resume-section {
        break-inside: avoid;
        margin: 0 0 7mm;
    }

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

    .resume-section h2 {
        color: #15191f;
        font-size: 11pt;
        font-weight: 800;
        letter-spacing: 0;
        margin: 0 0 3mm;
        text-transform: uppercase;
    }

    .resume-section p {
        margin: 0 0 2.5mm;
        overflow-wrap: anywhere;
    }

    .resume-skills {
        display: flex;
        flex-wrap: wrap;
        gap: 2mm;
    }

    .resume-skills span {
        background: #ffffff;
        border: 1px solid #ccd8d6;
        border-radius: 3px;
        color: #20242a;
        display: inline-block;
        font-size: 8.8pt;
        line-height: 1.2;
        padding: 1.3mm 2mm;
    }

    .resume-entry {
        break-inside: avoid;
        margin: 0 0 5mm;
    }

    .resume-entry:last-child {
        margin-bottom: 0;
    }

    .resume-entry h3 {
        color: #20242a;
        font-size: 10.5pt;
        font-weight: 800;
        margin: 0 0 1mm;
        overflow-wrap: anywhere;
    }

    .resume-entry-meta {
        color: #667085;
        font-size: 9.5pt;
        font-weight: 700;
    }
}
