﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.firstAccess {
    height: 100%;
    font-family: "Ubuntu", sans-serif;
    overflow-y: auto;
}

h1,
h3 {
    color: #6040a1;
}

.first-access-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    height: auto;
}

.left-panel {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.06);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 1;
}

.left-panel-wrapper-access {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
}

.first-access-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.first-access {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.alert-success {
    background: #C3E6CB !important;
    padding: 12px 20px !important;
    color: #155724 !important;
    font-weight: 700 !important;
}

.alert-warning {
    background: #FFF3D1 !important;
    padding: 12px 20px !important;
    color: #856404 !important;
}

.alert-danger {
    background: #F5C6CB !important;
    padding: 12px 20px !important;
    color: #CF1B2B !important;
}

.first-access-information {
    background-color: #f7f8f8;
    border-radius: 4px;
    border: 1px solid #e6e6e9;
    padding: 16px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}


.first-access-information p {
    color: #404557;
    font-size: 16px;
    font-family: "Nunito Sans", sans-serif;
    white-space: normal;
}

.form-first-access {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-family: "Nunito Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666a79;
    margin-bottom: 4px;
    display: block;
}

input {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fafbfc;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
}

    input:hover {
        border-color: #666a79;
    }

.enter-button {
    height: 46px;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    transition: all 0.2s ease;
}

.enter-button:disabled {
    background-color: #E6E6E9;
    color: #8C8F9A;
    border: none;
    cursor: not-allowed;
}

.enter-button:disabled,
.enter-button:disabled:hover,
.enter-button:disabled:focus,
.enter-button:disabled:active {
    background-color: #E6E6E9;
    color: #8C8F9A;
}

.back-button {
    height: 46px;
    width: 100%;
    padding: 12px 24px;
    border: 1px solid;
    border-radius: 6px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    background-color: transparent;
    cursor: pointer;
    align-items: center;
    transition: all 0.2s ease;
}

.form-group {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

    .form-group label {
        white-space: nowrap;
    }

.material-symbols-outlined {
    font-size: 18px;
}

.form-group button:hover input {
    border-color: #666a79;
}

.form-group button:focus {
    outline: none;
}

.help-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.help-footer a {
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #666a79;
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 0.4rem;
    padding: 4px 4px;
    margin-top: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.help-footer a:hover {
    background: rgba(124, 123, 126, 0.05);
}

.right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fafbfc;
    transform-origin: right;
    transition: transform 0.5s ease, background-color 0.5s ease;
}


.travel-content,
.expense-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.description-travel {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.accessTextLimit {
    max-height: 100%;
    overflow: auto;
    max-width: 90%;
}

/* ICON */

.contact-suport-icon {
    width: 18px;
    height: 18px;
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    color: #666A79;
}

@media screen and (max-width: 1128px) {
    .left-panel {
        padding: 0px 50px;
    }

    .right-panel {
        padding: 0px 50px;
    }
}

@media screen and (max-width: 821px) {
    .first-access-container {
        grid-template-columns: 1fr;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding: 1rem;
    }

    .left-panel {
        padding: 70px 16px;
    }

    .first-access-content {
        width: 100%;
    }

    .right-panel {
        padding: 70px 16px;
    }

    .enter-button,
    .form-group,
    .input-wrapper {
        width: 100%;
    }

    .footer-container {
        gap: 0.5rem;
    }

    .footer-top {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 12px;
    }

    .footer-bottom {
        justify-content: center;
    }
}

@media screen and (max-width: 320px) {
    .enter-button {
        font-size: 14px;
        padding: 12px 16px;
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }
}
