/* ==== COLORS ==== */
:root {
    --light-gray: #EFEFEF;
    --strong-gray: #9ca3af;
    --white: #FFFFFF;
    --black: #0A0A0A;

    --primary: #5592F5;
    --secondary: #162A70;
    --tertiary: #CFE1FC;
}

/* ==== GLOBAL COMPONENTS ==== */

body {
    background-color: var(--light-gray);
    margin: 0;
    padding-top: 70px;
    font-family: "Roboto Slab", serif;
}

section {
    padding-left: 1.5%;
    padding-right: 1.5%;
}

/* ==== HEADER ==== */

.Header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    line-height: 1;
    height: 70px;

    background: var(--secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* ==== LINE (HR) ==== */

.Line {
    flex: 1;
    border: none;
    border-top: 2px solid var(--strong-gray);
    margin: 0;
}

/* ==== TEXTAREA (GLOBAL) ==== */

textarea {
    width: 100%;
    min-height: 120px;
    height: 165px;
    padding: 14px 16px;
    box-sizing: border-box;

    resize: vertical;
    outline: none;

    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);

    font-family: inherit;
    font-size: 16px;
    color: #111827;
    line-height: 1.45;

    transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;

    -webkit-appearance: none;
    appearance: none;
}

textarea:focus {
    transform: translateY(-1px);

    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--tertiary);
}

textarea::placeholder {
    color: var(--strong-gray);
    font-weight: 400;
    opacity: 1;
}

/* ==== BUTTON (GLOBAL) ==== */

button {
    display: inline-block;

    padding: 12px 24px;

    background: var(--primary);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--tertiary);

    color: white;
    font-size: 16px;
    font-family: "Roboto Slab", serif;

    cursor: pointer;

    transition: all 0.3s ease;
}

.button2 {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--tertiary);
    background-color: var(--secondary);
    box-shadow: none;
}

.button2:hover {
    box-shadow: 0 2px 6px var(--primary);
}

.BtnDisabled {
    background: var(--tertiary) !important;
    color: var(--strong-gray) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;

    transform: none !important;
    transition: none !important;
}

.darkB {
    background: var(--secondary);
}

button:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px var(--tertiary);
}

button:active {
    transform: scale(0.98) translateY(0);
}

/* ==== NOTIFICATION / MODAL ==== */

.NotificationBackground {

    visibility: hidden;
    z-index: 1000;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);

    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0s linear 0.35s;
}

.NotificationBackground.show {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    pointer-events: auto;
}

.popup {
    width: 360px;
    padding: 15px;

    background: white;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);

    text-align: center;

    transform: scale(0.8);
    opacity: 0;

    transition: transform 0.35s ease, opacity 0.35s ease;
}

.NotificationBackground.show .popup {
    transform: scale(1);
    opacity: 1;
}

/* ==== CONTACTS BOX ==== */

.Contats {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ==== CONTACT INFO COLONNA SINISTRA ==== */

.ContactInfo {
    flex: 0 0 275px;
}


.AccountMenuRoot {
    position: relative;
}

#AccountIcon {
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

#AccountIcon:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

#AccountIcon:active {
    transform: scale(0.98);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.AccountMenu {
    background-color: var(--white);
    padding: 10px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

    position: absolute;
    top: calc(100% + 25px);
    right: 0;
    display: none;
    z-index: 1000;
}

.AccountMenu.is-open {
    display: block;
}