/* ============================================
   MICRO2 TOKEN - Access Request Interface
   Solicitare Acces - Autoevaluare
   ============================================ */

/* CSS Variables */
:root {
    --border-color: #555;
    --font-family: sans-serif;
    --spacing-unit: 8px;
    --error-color: red;
}

html {
    scrollbar-gutter: stable;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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



body {
    font-family: sans-serif;
    color: #333;
    /* background: linear-gradient(135deg, #6c8a78 0%, #e8f1ef 50%, #82b8a6 100%); */
    background: linear-gradient(135deg, #6c8a78 0%, #222b29 50%, #82b8a6 100%);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    font-size: 14px;
    padding: 0 .5em;

}

/* Subtle pattern overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, rgba(0, 100, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 5px);
    pointer-events: none;
    z-index: 0;
}

[view_links] {
    top: 200px !important;
}

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

[sigla_adr],
[sigla_regio] {
    float: left;
    height: 6em;
    margin: .5em 1em .5em 0;
    opacity: .9;
}

[sigla_adr] {
    height: 6em;
    margin-left: .5em;
    box-shadow: 0 0 0px 7px white;
}

[header_of_interface] {
    position: fixed;
    z-index: 1;
    width: 100%;



}

header {
    background: linear-gradient(135deg, rgb(109 138 119) 0%, rgb(40 52 47) 100%);
    color: white;
    padding: 1em;
    text-align: center;
    min-width: 500px;
    /* box-shadow: 0 8px 24px rgba(67, 84, 75, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1); */
}


/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

#MAIN {
    /* max-width: 900px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 8em 1em 1em 3em;
    background: white;
    border: 1px solid;
    /* min-height: 100vh; */
}


header h1 {
    font-size: 2.4em;
    /* margin-bottom: 5px; */
    font-weight: bold;
    font-family: Thin;
    /* padding-top: .2em; */
    text-align: left;
    padding-left: 30%;
}

[subtitle] {
    font-size: 1.8em;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: left;
    padding-left: 30%;
}

[disclaimer_scop] {
    /* font-size: 1.2em; */
}



.footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    font-size: 0.95em;
    border-top: 1px solid var(--border-color);
}





/* ============================================
   FORM ELEMENTS
   ============================================ */
/* Chrome, Edge, Safari */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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


input {
    margin-top: 0 !important;
    margin-right: 2em;
    padding: 12px 15px;
    min-width: 15em;
    field-sizing: content;
    padding: 12px 15px !important;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: white;
    font-size: 1.2em;
}

fieldset {
    /* border: .7px solid var(--border-color); */
    padding: 1em;
    padding-bottom: 0;
    border-radius: 8px;
    margin-bottom: 30px;
    background: #f4f4f4;
}

legend {
    font-weight: 600;
    padding: 0 10px;
    color: navy;
    font-size: 1.1em;
    background: white;
    border: .7px solid var(--border-color);
    /* border-radius: 4px; */
}









.form-group {
    margin-bottom: 1em;
    display: inline-block;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin: 0 0 .1em .5em;
    color: var(--primary-color);
    font-size: 1.1em;
}



* .form-group input:invalid:not(:placeholder-shown) {
    /* border-color: var(--error-color); */
}

input:invalid {
    border-color: var(--error-color) !important;
}

input[type="checkbox"]:required:invalid {
    outline: 1px solid red;
    outline-offset: -1px;
}

input[type="checkbox"]:required:invalid {
    box-shadow: 0 0 0 .7px rgba(255, 0, 0, 0.251);
}


#send_button {
    font-size: 1.5em;
    /* float: right; */
    vertical-align: top;
    padding-left: 2.2em;
    position: relative;
    letter-spacing: 0.5px;
}

[send_led] {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #ccc;
    margin-right: 0.5em;
    position: absolute;
    transform: translateY(5px);
    left: .5em;
}

#send_button[active] [send_led] {
    background-color: #4caf50;
    animation: blink 1s infinite;
}

[gdpr_check] {
    min-width: 0em;
    margin-right: 3em;
    vertical-align: text-bottom;
    width: 1.5em;
    height: 1.5em;

}


ul {
    list-style-position: inside;
    list-style-type: disc;
    transform: translateY(-.4em);
}

li::marker {
    color: #2c7a4b;
    font-size: 2em;
    font-weight: bold;
    line-height: 0.1em;

}

ul[_]>li {
    list-style: none;
    line-height: 1em;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    background-color: #cadfd96e;
    /* border-radius: 8px; */
    padding: .5em;
    margin-bottom: 30px;
}





footer {
    text-align: center;
    /* background-color: #f5f5f5; */

    font-size: 0.9em;

    position: fixed;
    z-index: 1;
    width: 100%;
    bottom: 0;
}


[onoffed=init] {
    /* margin-bottom: 1em; */
    background: rgb(254 255 221 / 38%);
    padding: .5em;
    margin-bottom: 1em;
    padding: 1em;
    /* outline: 1px solid #ccc; */
}

[onoffed=init][collapsed] {
    outline: none;
}




[about_adrne] {
    background: #1312124d;
    margin-top: 10px;
    color: white !important;
    padding: 2px;
    font-family: Thin;
    letter-spacing: 0.5px;
    font-size: .9em;
}

[about_adrne] a {
    color: white !important;
    text-decoration: none;
}

[modal_content] {
    font-size: 1.2em;
    /* font-family: Thin; */
}





table[result] {
    border-collapse: collapse;
    margin-top: 1em;
}

table[result] th,
table[result] td {
    border: 1px solid var(--border-color);
    padding: 0.5em 1em;
}

table[result] th {
    background-color: #f4f4f4;
    text-align: right;
}




/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (max-width: 900px) {
    ul {
        clear: both;

    }
}

@media (max-width: 700px) {
    [subtitle] {
        font-size: 1.2em;
    }

    [disclaimer_scop] {
        font-size: 1em;
    }


}