/* === Основной фон === */
body {
    background: linear-gradient(145deg, #7da6ff, #b798ff);
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* === Логотип === */
.logo-wrapper {
    margin-top: 40px;
}

.logo {
    width: 180px;
    user-select: none;
}

/* === Карточка шага === */
.screen {
    width: 90%;
    max-width: 420px;
    margin: 25px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Заголовки */
h2 {
    margin-top: 0;
    font-size: 26px;
    font-weight: 700;
}

.subtitle, .hint {
    margin: 5px 0 20px 0;
    font-size: 16px;
    color: #333;
}

/* === ОБЁРТКА ДЛЯ ПОЛЯ ВВОДА === */
.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

/* Поле ввода */
.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 16px 50px 16px 16px; /* большой отступ справа под иконку */
    font-size: 18px;
    border: 1.5px solid #d0d0d0;
    border-radius: 12px;
    box-sizing: border-box;
    outline: none;
    transition: 0.25s ease;
}

/* При фокусе */
.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: #7e5bff;
    box-shadow: 0 0 8px rgba(126, 91, 255, 0.3);
}

/* === Иконка в поле (логин) === */
.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #777;
    pointer-events: none;
}

/* === Кнопки === */
button {
    width: 100%;
    padding: 16px;
    background: #7e5bff;
    color: white;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #6b4ee8;
}

/* === Ошибка === */
.error {
    color: red;
    font-size: 15px;
    margin-bottom: 10px;
    min-height: 18px;
}

/* === Финальный вывод === */
.result-box {
    margin-top: 25px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
}
/* ==== Блок успешного открытия смены ==== */
.success-box {
    display: none;
    margin-top: 25px;
    padding: 22px;
    border-radius: 18px;
    background: #eaffea;
    border: 2px solid #6ed36e;
    animation: fadeIn 0.4s ease;
    text-align: center;
}

.success-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 14px auto;
    background: #6ed36e;
    color: white;
    border-radius: 50%;
    font-size: 42px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pop 0.3s ease;
}

#success-text {
    font-size: 20px;
    font-weight: 600;
    color: #247a24;
    line-height: 1.4;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pop {
    0% { transform: scale(0.1); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
