body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 900px;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.top-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    background: #fff;
}

.logo {
    height: 50px;
}

.login-content {
    display: flex;
    justify-content: space-between;
    padding: 50px;
}


h1 {
    font-size: 24px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 600;
    color: #333;
}

p {
    font-size: 14px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.dashed-line {
    border: none;
    border-top: 2px dashed #aaa;
    margin-bottom: 30px;
    padding-left: 300px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}


input {
    border: none;
    border-bottom: 1px solid #aaa;
    padding: 5px 0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

input:focus {
    border-bottom: 1px solid #000;
}


.form-submit {
    display: inline-block;
    background: #6dabe4;
    color: #fff;
    border: none;
    width: 100%;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: #4292dc;
}

/* Адаптивность для мобильных устройств и уменьшение контейнера */
@media (max-width: 768px) {
    body {
        padding: 10px;
        height: auto;
    }

    .container {
        width: 100% !important;
        max-width: 400px;
        padding: 20px;
        margin: 20px auto;
        box-shadow: none;
        border-radius: 10px;
        height: auto;
    }

    .login-content {
        flex-direction: column;
        padding: 10px;
        align-items: center;
        text-align: center;
    }

    .login-header h1 {
        font-size: 24px;
        text-align: center;
    }

    .login-header p {
        font-size: 16px;
        text-align: center;
        margin: 5px 0;
    }
    .login-image {
        order: -1;
        text-align: center;
        margin-bottom: 10px;
    }
    .login-image img {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }
    /* Центрируем текст и увеличиваем пунктирную линию */
    .dashed-line {
        border: none;
        border-top: 2px dashed #aaa;
        margin: 10px auto;
        width: 5%;
        /* transform: translateX(10%); Сдвигаем правее */
    }

    input {
        width: 100% !important;
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    button {
        width: 100% !important;
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
    }
}
