body {
    font-family: 'Inter', sans-serif;
    /* Градієнтний фон: жовто-оранжевий */
    /*background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); !* Gold to Orange *!*/
    background: #FFA500;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px; /* Додаємо відступ для мобільних пристроїв */
    box-sizing: border-box;
}

.login-card {
    background-color: #ffffff;
    padding: 2.5rem; /* 40px */
    border-radius: 1.5rem; /* 24px */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-width: 390px; /* Трохи ширше для кращого вигляду */
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    margin-bottom: 2rem; /* 32px */
}

.logo-img {
    width: 10em;
    height: auto;
    display: inline-block;
    margin-bottom: -2rem;
}

.login-header h2 {
    font-size: 2.25rem; /* 36px */
    font-weight: 700; /* bold */
    color: #1a202c; /* dark gray */
    margin-bottom: 0.5rem;
}

.login-header p {
    font-size: 1rem; /* 16px */
    color: #4a5568; /* medium gray */
}

.input-group {
    margin-bottom: 1.5rem; /* 24px */
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.875rem; /* 14px */
    font-weight: 500; /* medium */
    color: #2d3748; /* darker gray */
    margin-bottom: 0.5rem;
    text-align: center;
}

.input-wrapper {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem; /* 12px 16px */
    border: 1px solid #e2e8f0; /* light gray */
    border-radius: 0.75rem; /* 12px */
    background-color: #f7fafc; /* very light gray */
    font-size: 1rem;
    color: #2d3748;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); /* Внутрішня тінь */
    transition: all 0.2s ease-in-out;
}

.input-group input:focus {
    outline: none;
    /* Колір фокусу: жовто-оранжевий */
    border-color: #FFA500; /* Orange */
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.3); /* focus ring з прозорістю */
}

.toggle-password {
    position: absolute;
    right: 1rem; /* 16px */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a0aec0; /* light gray */
    font-size: 0.875rem;
    font-weight: 500;
    user-select: none;
    transition: color 0.2s ease-in-out;
}

.toggle-password:hover {
    /* Колір при наведенні: жовто-оранжевий */
    color: #FFA500; /* Orange */
}

.login-button {
    width: 100%;
    padding: 0.875rem 1.5rem; /* 14px 24px */
    /* Градієнт кнопки: жовто-оранжевий */
    background: linear-gradient(45deg, #FFD700 0%, #FFA500 100%); /* Gold to Orange */
    color: white;
    font-size: 1.125rem; /* 18px */
    font-weight: 600; /* semi-bold */
    border-radius: 0.75rem; /* 12px */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

#message {
    margin-top: 1.5rem; /* 24px */
    font-size: 0.9rem;
    font-weight: 500;
}

.phoenix-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* За фоном, але під карткою логіну */
}
