:root {
    --primary-color: #5570F1;
    --primary-hover: #6580F1;
    --error: #F57E77;
    --border: #e1e1e1;
    --text: #5E6366;
    --text-light: #666;
    --placeholder-text: #ABAFB1;
    --black: #000000;
    --white: #FFFFFF;
    --background-light: #EFF1F9;
    --input-background: #E9ECF8;
    --input-background-error: #FCF3F2;
    --disabled-button-background: #949494;
    --message-text: #32363E;
}

html {
    min-height:100%;
}

html * {
    font-family: 'Instrument Sans', sans-serif;
}

body {
    background-image: url("../img/conceito_bg_garden.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 100px;
}

.section-login {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 423px;

    margin-bottom: 50px;
}

.section-login h1 {
    font-family: 'Days One', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: var(--black);
}

.section-login div {
    width: 90%;
    position: relative;
}

.section-login label {
    width: 100%;
    font-size: 12px;
    color: var(--text);
    margin-bottom: 5px;

    position: absolute;
    top: 8px;
    left: 10px;
}

.section-login input {
    background-color: var(--input-background);
    width: 95%;
    padding: 30px 5px 10px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text);
    transition: border-color 0.5s var(--border);
    margin-bottom: 5px;
}

input[type=email]:focus {
    outline: 1px solid var(--border);
}

input::placeholder {
    color: var(--placeholder-text);
}

.section-login span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: var(--error);
    width: 100%;
    text-align: left;
    width: 90%;
}

.section-login button {

    padding: 1rem;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;

    margin-top: 20px;
    margin-bottom: 10px;

    width: 90%;
}

.section-login button:disabled {
    background-color: var(--disabled-button-background);
}

.section-login hr {
    width: 90%;
    border-top: 1px solid #CCCCCC;
    margin: 0;
    margin-top: 24px;
    margin-bottom: 24px;
}

.section-login img {
    width: 100px;
    margin-bottom: 24px;
}


.inputError {
    background-color: var(--input-background-error);
}

.textError {
    color: var(--error);
}

.section-confirmation {
    background-color: var(--white);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 423px;
}

.section-confirmation div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.section-confirmation h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-top: 24px;
    margin-left: 24px;
}

.section-confirmation input {
    width: 24px;
    height: 24px;
    margin-top: 24px;
    margin-right: 24px;
}

.section-confirmation p {
    font-size: 16px;
    font-weight: normal;
    color: var(--message-text);

    margin-right: 24px;
    margin-left: 24px;
}

.section-confirmation button {
    font-size: 16px;
    font-weight: normal;
    color: var(--message-text);

    padding: 1rem;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;

    margin-top: 20px;
    margin-bottom: 24px;

    width: 90%;
}


.message-box {
    display: none;
    flex-direction: row;
    column-gap: 0;

    background: var(--white);
    padding: 24px;
    border-radius: 12px;

    position: absolute;
    width: 400px;
    top:15px;
    right:15px;
    transition: opacity 2s ease-in-out;
    opacity: 1;
}

.message-box-icon {
    display: flex;
    width: 30px;
}

.message-box-icon img {
    width: 24px;
    height: 24px;
}

.message-box-content {
    display: flex;
    flex-direction: column;
    width: 340px;
    padding-left: 10px;
}

.message-box-content h1 {
    font-size: 14px;
    font-weight: bold;
    color: var(--black);
    margin-top: 5px;
}

.message-box-content span {
    font-size: 14px;
    font-weight: normal;
    color: var(--black);
    line-height: 20px;
}

.message-box-close {
    display: flex;
    width: 30px;
}

.message-box-close input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}