.invest-login-form,
.invest-register-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.invest-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.invest-form p {
    margin: 0;
}

.invest-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.invest-form input[type="text"],
.invest-form input[type="email"],
.invest-form input[type="password"],
.invest-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.invest-form input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.invest-form input:invalid {
    border-color: #EF4444;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-remember input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    border-color: #D1D5DB;
    border-radius: 4px;
}

.button.button-primary {
    background-color: #10B981;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.button.button-primary:hover {
    background-color: #059669;
}

.invest-error {
    background-color: #FEE2E2;
    border: 1px solid #EF4444;
    color: #B91C1C;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.register-link {
    margin-top: 1.5rem;
    text-align: center;
    color: #6B7280;
}

.register-link a {
    color: #10B981;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .invest-login-form,
    .invest-register-form {
        margin: 1rem;
        padding: 1.5rem;
    }
}