body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:#212121;
    color: #ffffff;
}
.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#submit-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px; /* Prevent button size change when text changes */
    padding: 8px 16px;
    margin-top: 0.5rem;
}

#submit-email:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-text {
    margin-right: 8px; /* Space between text and spinner */
}

.container {
    max-width: 900px;
    margin: 50px auto;
    background-color:#2F2F2F;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

input{
    width: 60%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

button {
    background-color: #343541; /* Button background color */
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2c2d3a; /* Darker shade of #343541 for hover effect */
}

#message {
    margin-top: 20px;
    font-size: 14px;
}

.error {
    color: red;
}
.message {
    color: rgb(183, 243, 93);
}

.success {
    color: green;
}
.mb-4{
    padding-bottom: 4rem;
}

.mb-1{
    padding-top: 2rem;
}

input[type="email"] {
    background-color: #f9f9f9; /* Light background for input fields */
    border: 1px solid #343541; /* Border color to match theme */
}

button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow for buttons */
}

@media (max-width: 1040px) {
    .container {
      margin: 50px 50px;
    }
 }

.form-label {
    text-align: left;
    display: block;  /* Makes the label take full width */
    width: 60%;     /* Match input width */
    margin: 0 auto; /* Center the label container */
}
