﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.header {
    position: absolute;
    background-color: #C0C0D0;
    width: 100%;
    height: 72px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}


/* Логотип */
.logo img {
    height: 42px;
    width: 228px;
}

/* Блок авторизації */
.auth {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #fff;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn img {
    width: 24px;
    height: 17px;
}

.login-header h3{
    color: var(--text-dark);
}

main {
    background-color: #C0C0D0; /* Фон покриває всю область */
    height: 100vh; /* Висота на весь екран */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Вирівнювання по центру */
    align-items: center;
    background-image: url('../icons/404-not-auth.svg'); /* SVG-зображення */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 540px 400px; /* Фіксований розмір */
    gap: 40px;
}

main h2{
    font-weight: 400;
    font-size: 36px;
    color: #32323C;
    font-family: 'Roboto Mono', monospace;
}

main p{
    font-weight: 400;
    font-size: 16px;
    color: #32323C;
    font-family: 'Roboto Mono', monospace;
}

main button{
    background-color: #0E133E;
    padding: 10px 24px;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.text{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    text-align: center;
    width: 482px;
}

.footer {
    position: absolute;
    bottom: 0;
    background-color: #0E133E;
    width: 100%;
    padding: 10px 0;
    color: white;
    width: 100%;
    height: 54px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 400;
}

/* Лівий блок (посилання) */
.footer-left a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-size: 12px;
    text-decoration: underline;
}

/* Правий блок (копірайт) */
.footer-right {
    font-size: 12px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Затемнення фону */
/* Оверлей */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Модальне вікно */
.login-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    width: 482px;
    transform: translate(-50%, -50%);
    background-color: #E5E5F4;
    padding: 40px 80px;
    gap: 40px;
    border-radius: 30px;
    flex-direction: column;
    align-items: center;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    gap: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    color: #32323C;
    background: none;
    font-size: 14px;
    outline: none;
    padding-right: 40px;
    padding-bottom: 10px;
}

.input-group .toggle-password {
    position: absolute;
    right: 10px;
    bottom: -10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.input-group .toggle-password img {
    width: 20px;
}
.input-group input:not(:placeholder-shown) {
    border-bottom: 1px solid #32323C;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: #666;
}

.login-modal button {
    width: 100%;
    padding: 12px;
    background-color: #D31F35;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-modal button:hover {
    background-color: darkred;
}

.login-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.login-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-header h3{
    color: #32323C;
}