* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f5f7;
    color: #252525;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    padding: 17px 28px;
    background: #292c35;
    color: white;
}

header span {
    margin-left: 18px;
    opacity: .75;
}

main {
    width: min(1180px, 94%);
    margin: 28px auto;
}

footer {
    text-align: center;
    color: #777;
    padding: 30px;
    font-size: 13px;
}

h1 {
    margin-bottom: 6px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

.login {
    max-width: 480px;
    margin: 60px auto;
}

label {
    display: block;
    margin-top: 16px;
}

input {
    width: 100%;
    padding: 11px;
    border: 1px solid #ccc;
    border-radius: 7px;
    margin-top: 6px;
}

button,
.button,
.secondary {
    display: inline-block;
    border: 0;
    text-decoration: none;
    border-radius: 7px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: bold;
}

button,
.button {
    background: #714b67;
    color: white;
}

form > button {
    margin-top: 20px;
}

.secondary {
    background: white;
    border: 1px solid #ccc;
    color: #333;
}

.badge {
    display: inline-block;
    background: #714b67;
    color: white;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: bold;
}

.level {
    margin-left: 6px;
    background: #eee;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.grid small {
    display: block;
    color: #777;
    margin-bottom: 6px;
}

.steps {
    display: grid;
    gap: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 9px;
    padding: 16px;
    border-left: 5px solid #ccc;
}

.step.active {
    border-color: #714b67;
}

.step.done {
    border-color: #248247;
}

.step.locked {
    opacity: .5;
}

.num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eee;
    font-weight: bold;
}

.grow {
    flex: 1;
}

.grow p {
    margin: 5px 0;
    color: #666;
}

.ok {
    color: #237844;
    font-weight: bold;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.progress {
    height: 9px;
    border-radius: 5px;
    background: #ddd;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress span {
    display: block;
    height: 100%;
    background: #714b67;
}

.line {
    padding: 12px 15px;
    background: #f7f7f8;
    border-radius: 8px;
    margin-bottom: 12px;
}

.line p {
    margin: 5px 0;
}

ol li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.question {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.option {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    cursor: pointer;
    font-weight: normal;
}

.option input {
    width: auto;
    margin: 0 8px 0 0;
}

.feedback {
    margin-top: 20px;
    background: #fff4df;
    padding: 14px;
    border-radius: 8px;
}

.alert {
    margin-bottom: 18px;
    padding: 13px;
    border-radius: 7px;
}

.alert.success {
    background: #def5e5;
}

.alert.error {
    background: #fde4e4;
}

.alert.warning {
    background: #fff4df;
}

.notice {
    background: #f7f2f6;
    border-left: 4px solid #714b67;
    padding: 12px;
}

.table {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    text-align: left;
    padding: 13px;
    border-bottom: 1px solid #eee;
}

th {
    background: #fafafa;
}

.danger {
    background: #b42318;
    padding: 7px 10px;
    font-size: 12px;
}

.complete {
    text-align: center;
    max-width: 700px;
    margin: 60px auto;
}

.check {
    margin: auto;
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    background: #def5e5;
    color: #237844;
    border-radius: 50%;
    font-size: 42px;
}

@media(max-width: 800px) {
    .columns,
    .grid {
        grid-template-columns: 1fr;
    }

    .heading {
        align-items: flex-start;
    }
}


/* CAPACITACIONES UI V2 */

.case-header {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: flex-start;
}

.muted {
    color: #666;
}

.progress-text {
    text-align: right;
}

.progress-text strong {
    display: block;
    font-size: 25px;
    color: #714b67;
}

.progress-text span {
    color: #777;
    font-size: 13px;
}

.dashboard-progress {
    margin-top: 16px;
}

.case-lines {
    margin-top: 25px;
}

.case-lines-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multi-line-badge {
    background: #f1e9ef;
    color: #714b67;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: bold;
}

.dashboard-line {
    display: grid;
    grid-template-columns:
        .5fr
        1.5fr
        1fr
        1fr
        .7fr
        1fr
        1fr;
    gap: 12px;
    background: #f8f8f9;
    border: 1px solid #eee;
    border-radius: 9px;
    padding: 14px;
    margin-top: 10px;
}

.dashboard-line small,
.exercise-grid small {
    display: block;
    color: #777;
    margin-bottom: 5px;
}

.step-badges {
    display: flex;
    align-items: center;
    gap: 7px;
}

.case-code {
    background: #eee;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: bold;
}

.training-warning {
    background: #f7f2f6;
    border-left: 4px solid #714b67;
    padding: 12px;
    border-radius: 4px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.data-row span {
    color: #666;
}

.data-row strong {
    text-align: right;
}

.exercise-line {
    margin-top: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 9px;
    overflow: hidden;
}

.exercise-line-title {
    padding: 10px 14px;
    background: #714b67;
    color: white;
    font-weight: bold;
}

.exercise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 15px;
}

.candidate-card {
    margin-bottom: 22px;
}

.skills {
    display: grid;
    gap: 9px;
}

.skill {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    background: #f8f8f9;
    padding: 11px;
    border-radius: 7px;
}

.skill span {
    color: #666;
}

.hire-target {
    background: #f7f2f6;
    padding: 15px;
    border-radius: 8px;
    margin-top: 22px;
}

.instructions-title {
    margin-top: 28px;
}

.instructions {
    padding-left: 23px;
}

.odoo-confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f7f2f6;
    border: 2px solid #d5c1cf;
    padding: 15px;
    border-radius: 9px;
    cursor: pointer;
    margin-bottom: 20px;
}

.odoo-confirm input {
    width: auto;
    margin: 3px 0 0 0;
}

.odoo-confirm span {
    display: block;
}

.odoo-confirm small {
    display: block;
    margin-top: 5px;
    color: #666;
}

.question-divider {
    padding: 11px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.evaluate-button {
    width: 100%;
    margin-top: 22px;
    padding: 13px;
}

@media(max-width: 900px) {

    .dashboard-line {
        grid-template-columns: 1fr 1fr;
    }

    .case-header {
        flex-direction: column;
    }

    .progress-text {
        text-align: left;
    }

}

@media(max-width: 600px) {

    .dashboard-line,
    .exercise-grid {
        grid-template-columns: 1fr;
    }

    .data-row {
        flex-direction: column;
        gap: 4px;
    }

    .data-row strong {
        text-align: left;
    }

}


/* CAPACITACIONES FLOW REAL V3 */

.automation-note {
    margin: 14px 0 18px 0;
    padding: 13px 15px;
    background: #f7f2f6;
    border: 1px solid #decfda;
    border-left: 4px solid #714b67;
    border-radius: 7px;
    line-height: 1.45;
}

.special-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-path {
    display: block;
    margin-top: 5px;
    padding: 6px 8px;
    background: #f7f2f6;
    border-radius: 5px;
    color: #714b67;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

/* CAPACITACIONES ENTREVISTA START */

.lab-interview-card {
    margin: 18px 0 24px 0;
    padding: 16px;
    border: 1px solid #d9c8d4;
    border-left: 4px solid #7c4d70;
    border-radius: 7px;
    background: #fbf8fa;
}

.lab-interview-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}

.lab-interview-warning {
    margin-bottom: 14px;
    font-size: 12px;
    color: #6d445f;
}

.lab-interview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin-bottom: 14px;
}

.lab-interview-grid > div {
    padding: 7px 0;
    border-bottom: 1px solid #e7dfe4;
}

.lab-interview-grid span,
.lab-interview-field > span {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.lab-interview-grid strong {
    display: block;
    font-size: 13px;
}

.lab-interview-field {
    margin-top: 12px;
}

.lab-interview-value {
    padding: 9px 10px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #e5dde2;
    font-weight: 600;
}

.lab-interview-description {
    margin-top: 4px;
    padding: 11px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #e5dde2;
    white-space: pre-line;
    line-height: 1.45;
    font-size: 12px;
}

@media (max-width: 800px) {
    .lab-interview-grid {
        grid-template-columns: 1fr;
    }
}

/* CAPACITACIONES ENTREVISTA END */

/* CAPACITACIONES DOBLE CANDIDATO START */

.lab-double-card,
.lab-person-card,
.lab-interview-card,
.lab-employee-card,
.lab-closure-card {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #ded7dc;
    border-radius: 7px;
    background: #fbf9fa;
}

.lab-double-card {
    border-left: 5px solid #76536c;
}

.lab-person-card {
    border-left: 4px solid #8f7187;
}

.lab-interview-card {
    border-left: 4px solid #72566d;
}

.lab-employee-card {
    border-left: 4px solid #66495e;
}

.lab-closure-card {
    border-left: 5px solid #4f6e58;
}

.lab-double-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.lab-double-summary {
    font-size: 12px;
    margin-bottom: 14px;
}

.lab-target-grid,
.lab-person-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.lab-target-grid > div,
.lab-person-grid > div {
    padding: 7px 0;
    border-bottom: 1px solid #e5dfe3;
}

.lab-target-grid span,
.lab-person-grid span,
.lab-text-field span {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.lab-target-grid strong,
.lab-person-grid strong {
    display: block;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.lab-skills {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.lab-text-field {
    margin-top: 12px;
}

.lab-text-field > div {
    padding: 10px;
    border: 1px solid #e2dce0;
    border-radius: 5px;
    background: white;
}

.lab-description {
    white-space: pre-line;
    line-height: 1.45;
}

@media (max-width: 800px) {

    .lab-target-grid,
    .lab-person-grid {
        grid-template-columns: 1fr;
    }
}

/* CAPACITACIONES DOBLE CANDIDATO END */

