
        .popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #fff;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            z-index: 1000;
            text-align: center;
        }

        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        .popup button {
            margin-top: 10px;
            padding: 10px 20px;
            background-color: #fc6a03;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .popup button:hover {
            background-color: #e35c02;
        }


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 90%; /* Более гибкая ширина */
    width: 100%;
    margin: 50px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h2 {
    text-align: center;
    color: #fc6a03;
    margin-top: 0;
}

.btn-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 5px 0;
    padding: 10px;
    background-color: #fc6a03;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-link:hover {
    background-color: #e35c02;
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.message.success {
    background: #dff0d8;
    color: #3c763d;
}

.message.error {
    background: #f2dede;
    color: #a94442;
}

form {
    margin-top: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #444;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

button[type="submit"] {
    background: #fc6a03;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
    width: 100%; /* Чтобы кнопки занимали весь доступный контейнер */
}

button[type="submit"]:hover {
    background: #e35c02;
}

.logout {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #fc6a03;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background 0.3s;
}

.logout:hover {
    background: #e35c02;
}

.back-link {
    display: block;
    margin-top: 10px;
    text-align: center;
}

.back-link a {
    text-decoration: none;
    color: #fc6a03;
    font-weight: bold;
}

@media (max-width: 600px) {
    .container {
        margin: 20px auto;
        padding: 10px;
    }

    h2 {
        font-size: 18px;
    }

    .btn-link, .logout {
        padding: 10px;
        font-size: 14px;
    }

    input[type="text"], input[type="password"] {
        font-size: 14px;
        padding: 8px;
    }

    button[type="submit"] {
        font-size: 14px;
        padding: 8px 15px;
    }
}




