:root {
    --light-cyan-accent: #E7F7F7;
    --color-white: #ffffff;
    --border-form: #E0E0E0;
    --dark-green: #004040;
    --color-black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-cyan-accent);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.login-container {
    max-width: 727px;
    width: 100%;
    padding: 56px;
    background: var(--color-white);
    border: 1px solid var(--border-form);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.login-inner {
    max-width: 429px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.logo-wrapper img {
    max-width: 300px;
    height: auto;
}

.header-section {
    text-align: center;
    margin-bottom: 20px;
}

.header-section h1 {
    color: var(--dark-green);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.header-section p {
    font-size: 14px;
    color: var(--color-black);
    opacity: 0.6;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: #797979;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-black);
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--dark-green);
    box-shadow: 0 0 0 2px rgba(0, 64, 64, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #797979;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--dark-green);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 12px;
}

.submit-btn:hover {
    background-color: #003333;
}

.submit-btn:disabled {
    background-color: #668c8c;
    cursor: not-allowed;
}

.footer-text {
    text-align: center;
    color: #797979;
    font-size: 12px;
    margin-top: 16px;
    line-height: 1.5;
}

.message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

@media (max-width: 600px) {
    .login-container {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .header-section h1 {
        font-size: 28px;
    }
}