.membership-form-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.form-container h2 {
    color: var(--primary-color, #0056b3);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.2rem;
}

.form-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color, #0056b3);
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color, #0056b3);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.membership-form,
.status-check-form {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 20px;
}

.form-group {
    flex: 1;
    padding: 0 15px;
    margin-bottom: 20px;
}

.full-width {
    flex: 0 0 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color, #0056b3);
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-top: 30px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
}

.checkbox-container:hover input~.checkmark {
    border-color: #ccc;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color, #0056b3);
    border-color: var(--primary-color, #0056b3);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background-color: var(--primary-color, #0056b3);
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.status-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    display: none;
}

.status-result.active {
    display: block;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.active {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.expired {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.terminated {
    background-color: #f8d7da;
    color: #721c24;
}

.membership-benefits {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.membership-benefits h3 {
    color: var(--primary-color, #0056b3);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.membership-benefits ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.membership-benefits li {
    flex: 0 0 50%;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.membership-benefits i {
    color: var(--primary-color, #0056b3);
    margin-right: 10px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        flex: 0 0 100%;
    }

    .membership-benefits li {
        flex: 0 0 100%;
    }
}