/* --- Global & Container Styles --- */
body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f9f9f9;
    display: block;
    padding: 50px 5%;
    margin: 0;
    min-height: 100vh;
}

.subscription-container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    position: relative !important;
    top: auto !important;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

header h1 {
    color: black;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
}

.form-group {
    flex: 1;
    position: relative;
}

.input-card {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.2s ease;
}

.input-card:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 1rem;
    color: black;
    background-color: transparent;
    outline: none;
}

input::placeholder {
    color: black;
    font-weight: 400;
    opacity: 1;
}

.select-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.select-card label {
    font-size: 0.85rem;
    color: black;
    margin-bottom: 5px;
    font-weight: 500;
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 20px;
}

.select-card::after {
    content: "\f0d7";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: black;
    font-size: 0.8rem;
}

.submit-button {
    width: auto;
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s;
    display: inline-block;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #0056b3;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    height: 10px;
}



.subscription-container header {
    position: relative;
    top: auto;
    z-index: initial;
}

@media (max-width: 860px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        width: 100%;
    }
}

@media (min-width: 861px) {

    .form-row {
        display: flex;
        flex-direction: row;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        flex-basis: 50%;
    }
}