/*####################################*/
/* BOXES AND FORMS
/*####################################*/

.box {
    position: relative;
    height: fit-content;
    margin: auto;
    width: 600px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    box-shadow:
        inset 2px 2px 4px -2px #fff,
        inset -2px -2px 4px -2px #0008,
        0 5px 10px -2px #440;
    background: var(--col2);
    gap: 5px;
}

.mini-box {
    width: 350px;
}

.box-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: black;
    font-weight: bold;
}

.box-header img {
    height: 50px;
    width: 50px;
    border: solid 2px var(--col5);
    border-radius: 50%;
}

.box-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

.box-body p {
    color: var(--ivory);
}

.box-body a {
    color: var(--col1);
    text-decoration: none;
}

.form-input-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: black;
    gap: 10px;
    padding-bottom: 5px;
}

.units {
    flex-direction: row !important;
}

.tariff-input-box {
    width: 160px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: black;
    gap: 5px;
}

.tariff-input {
    width: 60px;
}

.contacts-container {
    width: 300px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: var(--contrastMainMid);
    border: solid 2px;
    border-color: var(--col5) var(--col1) var(--col1) var(--col5);
    border-radius: 10px;
    color: black;
    gap: 10px;
}

.contact-container {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
}

.contact-btn-container {
    width: 204px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-info-container {
    width: 76px;
}

/*####################################*/
/* FORM INPUTS
/*####################################*/
input:focus,
textarea:focus {
    outline: none;
}

input[type=text],
input[type=number],
input[type=email],
input[type=password],
textarea {
    width: 100%;
    padding: 5px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    font-family: inherit;
    font-weight: bold;
    font-size: 1rem;
    color: black;
    outline: none;
    resize: none;
}


.inset {

    .password {
        position: relative;
        width: calc(100% - 27px);
        padding-right: 30px;
    }

    .eye {
        position: absolute;
        right: 0px;
        top: 4px;
        min-width: 24px;
        border: none;
        background-color: transparent;
        font-size: 18px;
        color: #000;
        cursor: pointer;
    }

    .eye::after {
        content: '\f06e';
        font-family: "Font Awesome 6 Free";
    }

    .eye.slash::after {
        content: '\f070';
        font-family: "Font Awesome 6 Free";
    }
}

input[type=number] {
    padding-left: 20px;
}

input[type='file'] {
    width: 114px;
    cursor: pointer;
}

input::placeholder {
    font-size: .8rem;
    font-weight: normal;
    color: #000;
}

textarea {
    height: 200px;
}

select {
    padding: 5px 10px;
    border: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    outline: none;

    & option {
        outline: none;
        background: transparent;
        color: inherit;
    }
}

label {
    flex-basis: 100px;
    display: none;
    justify-content: end;
}

.error {
    background: #f004 !important;
    outline: solid 2px #c00 !important;
}

.err-msg {
    width: 300px;
    padding: 10px;
    border: solid 2px #c00;
    border-radius: 10px;
    background: #f004;
}

/*REMOVE UP AND DOWN ARROWS FROM NUMBER INPUT BOX*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}



/* buttons */
.btn-container {
    width: fit-content;
    margin: auto;
}

.btn-inset {
    padding: 4px;
    border-radius: 20px;
    box-shadow: inset 2px 2px 4px 0px #0008;
    background: #0002;
    display: flex;
    text-align: center;
}

.box-btn1,
.box-btn2 {
    margin: auto;
    width: fit-content;
    min-width: 120px;
    padding: 5px 10px;
    border: none;
    border-radius: 20px;
    box-shadow: inset 2px 2px 4px -2px #fff4, inset -2px -2px 4px -2px #0008, 2px 2px 4px -2px #000c;
    background-image: linear-gradient(var(--alt2), var(--alt4));
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
    color: var(--col1) !important;
    cursor: pointer;
}

.box-btn2 {
    width: 200px !important;
}

.donate-btn {
    background-image: linear-gradient(#ffa000, #ff0000) !important;
    margin: 5px 0px !important;
    color: #d0d0d0;
}

.contact-btn {
    width: 200px;
    margin: auto;
    padding: 10px;
    background-image: linear-gradient(var(--col2), var(--col4));
    border: solid 2px;
    border-color: var(--col1) var(--col5) var(--col5) var(--col1);
    border-radius: 20px;
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
    font-size: 1rem;
    color: var(--col1);
    cursor: pointer;
}

.contact-btn2 {
    width: 58px;
    margin: auto;
    padding: 5px;
    background-image: linear-gradient(var(--col2), var(--col4));
    border: solid 2px;
    border-color: var(--col1) var(--col5) var(--col5) var(--col1);
    border-radius: 20px;
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--col1);
    cursor: pointer;
}

.mini-btn {
    width: 60px !important;
    margin: auto !important;
    padding: 0 4px !important;
    background-image: linear-gradient(var(--bgMain), var(--contrastMainDark)) !important;
    border: solid 2px !important;
    border-color: black !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-family: Arial !important;
    font-weight: bold !important;
    font-size: 0.7rem !important;
    color: black !important;
    cursor: pointer !important;
}

.box-btn1:hover,
.box-btn2:hover {
    color: white !important;
    text-decoration: none;
    transition: all 0.5s ease;
    cursor: pointer;
}

.form-outer-left {
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 320px;
    background-image: linear-gradient(var(--col2), var(--col3), var(--col4));
    border-radius: 20px;
    box-shadow: 0 2px 5px #0008;
}

.inner-3d {
    width: fit-content;
    height: 100%;
    padding: 2px;
    display: flex;

    gap: 5px;
    background-image: linear-gradient(var(--col5), var(--col3), var(--col1));
    border-radius: 10px;
}

.tariffrow {
    width: 326px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: inset 0px 2px 4px 0px #0008;
    background: #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tarifftop {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--alt3);
    padding-bottom: 10px;
}

.tarifftop a {
    color: var(--alt3);
    text-decoration: underline;
}

.tariffbottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.tariffinfo {
    width: 100%;
    justify-content: center;
    align-items: center;
}

.tariffinfo2 {
    width: 50%;
    justify-content: center;
    align-items: center;
}

.tariffinfo3 {
    width: 33.333%;
    justify-content: center;
    align-items: center;
}