@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-container {
    background-color: #2d2d2d;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 540px; /* ← увеличено с 360px на 50% */
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #ffffff;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: #444;
    color: #fff;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.login-form input::placeholder {
    color: #aaa;
    text-align: center;
}

.login-form button {
    all: unset;
    background-color: #333;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 10px auto 0;
    display: block;
    text-align: center;
}

.login-form button:hover {
    background-color: #555;
}

.error {
    background-color: #a94442;
    padding: 8px;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.upload-form button {
    all: unset;
    background-color: #333;
    color: #fff;
    padding: 14px 35px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 15px;
}

.upload-form button:hover {
    background-color: #555;
}
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.upload-form button {
    all: unset;
    width: 180px; /* фиксируем одинаковую ширину */
    background-color: #333;
    color: #fff;
    padding: 14px 0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 15px;
}

.upload-form button:hover {
    background-color: #555;
}

.status-box {
    margin-top: 20px;
    padding: 12px;
    border-radius: 5px;
    background-color: #1f1f1f;
    color: #ccc;
    font-size: 14px;
    border: 1px solid #444;
    text-align: center;
}

