body, html {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: black;
    color: white;
}

#main_container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 20px 0;
    text-align: center;
}

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

label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: -10px;
}

#email_input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    color: black;
    border: 2px solid white;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

#email_input:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

#email_input::placeholder {
    color: #999;
}

button[type="submit"] {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    background: black;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: white;
    color: black;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

.success-message {
    background: black;
    border: 2px solid white;
    color: white;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message h2 {
    margin: 0 0 10px 0;
}

.error-message {
    background: black;
    border: 2px solid white;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message h2 {
    margin: 0 0 10px 0;
}

.error-message a {
    text-decoration: underline;
}

.help-text {
    display: block;
    font-size: 14px;
    color: #721c24;
    margin-top: 5px;
}

input[aria-invalid="true"] {
    border-color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 20px;
    }

    #main_container {
        padding: 30px 15px;
    }
}