/* global css variables */
:root {
    --succesfful-color: #239C05;
    --error-color: #E30000;
    --label-color: #666666;
    --font-regular: BMWGroupTNProTT-Regular;
    --body-color: #212529;
    --ink: #1e2430;
    --muted: #5b677a;
    --line: #e3e7ee;
    --header-bg: #ffffff;
    --header-height: 72px;
    --accent-dark: #1f54c9;
    --primary-color: #035970;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-regular);
    color: var(--body-color);
    background: #f7f8fb;
}

header.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--header-height);
    padding: 0 24px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
}

.site-logo {
    display: inline-flex;
    align-items: center;
}

    .site-logo img {
        height: 36px;
        width: auto;
        display: block;
    }

.site-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

main {
    flex: 1;
}

    main h1 {
        margin: 0;
    }

@media (max-width: 720px) {

    .field input,
    .field select {
        font-size: 15px !important;
    }

    /* mobile */
    .row {
        font-size: 15px !important;
    }

    /*mobile*/
    .section h2,
    header h1 {
        font-size: 16px !important;
    }

    /*mobile*/
    .row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    /*mobile*/
    .card {
        padding: 26px 20px 32px;
    }

    header.site-header {
        height: 64px;
        padding: 0 16px;
    }

    .site-logo img {
        height: 30px;
    }

    .site-title {
        font-size: 14px;
    }
}

.left-border {
    position: absolute;
    left: 0;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: var(--primary-color) !important;
    height: 35px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--accent-dark);
    }

/*mobile*/
.btn {
    border: none;
    padding: 12px 26px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

    /*mobile*/
    .btn.btn-secondary,
    .btn.btn-primary {
        font-size: 14px;
    }


.btn-secondary {
    background: white;
    color: black;
    border: black 1px solid;
}

/* desktop */
.card {
    width: 100%;
    background: var(--panel);
    border-radius: 0 !important;
    padding: 36px 40px 42px;
    box-shadow: var(--shadow);
    animation: fade-in 320ms ease-out;
}

main {
    padding: 40px 20px 48px;
    display: flex;
    justify-content: center;
}

    main form {
        width: min(1080px, 100%);
    }

/*desktop*/
.section h2,
header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

header p {
    margin: 0;
    color: var(--body-color);
    font-size: 14px;
}

.page-header-title {
    margin-top: 10px;
}

.section {
    margin-bottom: 40px;
}

.divider {
    margin-top: 28px;
    height: 2px;
    background: var(--line);
    margin-bottom: 16px;
}

.rows {
    display: grid;
    gap: 10px;
}

/* desktop */
.row {
    align-items: center;
    font-size: 16px;
}

    .row .label {
        color: var(--label-color);
        min-width: 150px;
    }

    .row .value {
        font-weight: 600;
    }

/* desktop */
.field input,
.field select {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    font-family: var(--font-regular);
}

.field .select-wrapper {
    padding-right: 10px;
}

.field .select-wrapper,
.field input {
    border: 1px solid var(--line);
}

.field select {
    background: #fff;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
