@import "dropdown.css";
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300&display=swap');

:root {
    --primary-orange: #ED7A24;
    --primary-blue: #3B51A3;
    --secondary-green: #00B595;
    --secondary-red: #ED0E34;
    --secondary-blue: #16C2EB;
    --secondary-orange: #ED9B0E;
    --neutral-black: #232323;
}

*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font: 20px Lexend, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--neutral-black);
}

h1 {
    /*padding-bottom: 50px;*/
}

h2 {
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

.page {
    margin-left: 50px;
    margin-right: 50px;
    gap: 44px;
}

.page h1 {
    color: var(--secondary-red);
    margin-bottom: 24px;
}

/* Inputs and buttons */
input {
    color: rgba(35, 35, 35, 0.6);
    font-size: 16px;

    display: flex;
    width: 168px;
    height: 48px;
    padding: 12px;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;

    border-radius: 4px;
    border: 1px solid rgba(35, 35, 35, 0.40);
    background: #FFF;
}

input[type="submit"] {
    padding: 5px 55px;
    background-color: var(--primary-orange);
    border: none;
    color: #fff;
}

a.btn,
a.btn_alt,
button {
    all: unset;
    cursor: pointer;
    display: flex;
    border-radius: 8px;
    color: #fff;
    background: #EC7A25;
    width: 156px;
    height: 20px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

a.btn_alt {
    border: 1px solid var(--secondary-green);
    padding: 16px;
    border-radius: 4px;
    color: var(--secondary-green);
    background-color: #fff;
}

a.wide {
    width: auto;
}


.notValidDay {
    background-color: rgba(102, 102, 102, 0.05);
    color: #666666;
    pointer-events: none;
}

.divider {
    height: 2px;
    width: 80%;
    color: rgba(35, 35, 35, 0.20);
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

.deactive {
    pointer-events: none;
    cursor: default;
    background-color: rgba(85%, 85%, 85%, 75%);
}

.selected {
    border-radius: 8px;
    border: 1px solid rgba(35, 35, 35, 0.20);
    background: rgba(22, 194, 235, 0.10);
}

.error {
    border-color: #e74c3c;
    background-color: #ffe6e6;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
}

.spacer {
    flex-grow: 1;
}

.form-section {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    border-radius: 8px;
    border: 1px solid rgba(35, 35, 35, 0.20);
}

.form-grid {
    display: grid;
    /*grid-auto-rows: 48px;*/
    gap: 12px;
}

.form-column {
    flex: 1;
    min-width: 45%;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.prechecked {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background-color: rgba(5, 11, 37, 0.60);
    background-image: url("../images/icons/grey-tick.svg");
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.date-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row div {
    width: 100%;
}

#basic_rules {
    position: absolute;
    right: 36px;
    bottom: 96px;
}

label[for="language-picker-select"] {
    display: none;
}

.language-picker-select {
    appearance: none;
}