* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html,
body {
    margin: 0px;
    height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
    color: #1882ff;
}

html * {
    font-family: "Inter", Helvetica;
}

button {
    font-size: 15px;
    font-weight: 500;
}

h1 {
    font-weight: 700;
    font-size: 30px;
    line-height: normal;
}

.internal h1 {
    font-weight: 600;
    font-size: 25px;
    line-height: normal;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin:0;
}

h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
}

p {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

input[type=text],
input[type=number],
input[type=time],
.inputtext{
    height: 40px;
    padding: 3px 12px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid;
    border-color: rgba(48, 46, 44, 0.2);
}

input[type=date] {
    height: 40px;
    padding: 3px 12px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid;
    border-color: rgba(48, 46, 44, 0.2);
}
label {
    font-size: 16px;
    color: rgba(48, 46, 44, 0.7);
    line-height: 18px;
}

label.radio {
    color: var(--text-colour);
    line-height: 24px;
    font-size: 18px;
}

b {
    font-weight: 600;
}

textarea {
    border: 1px solid rgba(48, 46, 44, 0.2);
    border-radius: 5px;
    padding: 12px;
    font-size: 16px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* BUTTONS */

.btn {
    width: fit-content;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-lg {
    font-size: 16px;
    padding: 12px 16px;
}

.btn-md {
    font-size: 14px;
    padding: 10px 14px;
}

.btn-sm {
    font-size: 13px;
    padding: 6px 8px;
}

.btn-lg.solid,
.btn-md.solid,
.btn-sm.solid {
    background-color: var(--brand-colour-orange);
    color: #ffffff;
    border: none;
}

.btn-lg.outline,
.btn-md.outline,
.btn-sm.outline {
    background: none;
    color: var(--brand-colour-orange);
    border: 1px solid var(--brand-colour-orange);
}

.grey-md {
    font-size: 14px;
    padding: 10px 14px;
    background-color: rgba(48, 46, 44, 0.1) !important;
    color: rgba(48, 46, 44, 0.5);
    border: none;
}

.grey-md:hover {
    background-color: rgba(48, 46, 44, 0.15) !important;
}

.solid:hover {
    background-color: #eb6f00;
}

.outline:hover {
    background-color: var(--brand-colour-orange);
    color: #ffffff;
}

.page-wrapper {
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow-y: auto;
}

.page-wrapper.internal {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
/* CONTENT */

.approval-form .content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 15px #302e2c0a;
    color: var(--text-colour);
    overflow-y: auto;
}

.content .prev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 0 0 auto;
}

.content .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.content .step-link {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-colour-blue);
    gap: 8px;
    cursor: pointer;
}

.content .step-link.next {
    margin-top: 88px;
}

.view-proof .content .btn-lg {
    width: 200px;
}

/*.form .form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}*/

.content .form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.form .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.content .form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    width: inherit;
}

/*.form .section,
.form .row {
    width: 100%;
}*/

.content .section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

table {
    width: 100%;
    border: 1px solid rgba(48, 46, 44, 0.1);
    font-size: 16px;
    border-radius: 5px;
}

.table .caption {
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    background-color: var(--brand-colour-blue);
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
table th,
table td {
    padding: 16px 8px;
    vertical-align: middle;
    line-height: 16px;
}

table th {
    font-weight: 600;
}

table tbody tr:nth-of-type(odd) {
    background-color: rgba(48, 46, 44, 0.04);
}
.invalid {
    border-color: var(--red-colour) !important;
}

.validation-message {
    color: var(--red-colour);
    margin-top: 0.5rem;
}

.app-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: 525px;
    min-height: 200px;
    padding: 24px;
    overflow: auto;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: rgba(99, 99, 99, 0.1) -2px 0px 15px 0px;
    z-index: 111;
}

.app-modal .footer {
    display: flex;
    justify-content: flex-end;
}

.app-modal .btn {
    margin-left: 16px;
}

.col {
    flex: inherit !important;
}

.content .data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.save-btn {
    margin-top: 32px;
    width: 200px;
}

.text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.text-content > div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

input[type=checkbox] {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid;
    border-color: rgba(48, 46, 44, 0.2);
}