/* General Section */
.register-section {
    padding: 50px 0;
    background-color: #f0f7f3;
    font-family: 'Segoe UI', sans-serif;
}

.section-title h3 {
    text-align: center;
    font-size: 32px;
    color: #8dc63f; /* Evergreen Green */
    margin-bottom: 10px;
}

.section-title p {
    text-align: center;
    color: #ee2b09;
}

/* Form Styling */
.styled-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.styled-form .form-control {
    border-radius: 5px;
    border: 1px solid #c8e6c9;
    height: 45px;
    padding-left: 12px;
    padding-top: 12px;
    padding-right: 12px;
}

.styled-form .form-control:focus {
    border-color: #8dc63f;
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.2);
}

/* Buttons */
.btn-primary {
    background-color: #8dc63f;
    border: none;
}
.btn-primary:hover {
    background-color: #388E3C;
}
.btn-secondary {
    background-color: #A5D6A7;
    border: none;
    color: #fff;
}
.btn-secondary:hover {
    border: 1px solid #81C784;
}
.btn-success {
    background-color: #43A047;
    border: none;
}
.btn-success:hover {
    background-color: #388E3C;
}
.btn-info1 {
    background-color: #66BB6A;
    border: none;
    color: #fff;
}
.btn-info1:hover {
    background-color: #43A047;
    color: #fff;
}
.btn-info1:focus {
    background-color: #43A047;
    color: #fff;
}

/* Progress Bar */
.progress {
    height: 20px;
    border-radius: 10px;
    background-color: #c8e6c9;
}
.progress-bar {
    background-color: #8dc63f;
    transition: width 0.3s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .register-section .section-title h3 {
        font-size: 24px;
    }
    .styled-form {
        padding: 20px;
    }
}

.d-flex {
    display: flex;
    align-items: center;
}
.mr-2 {
    margin-right: 10px;
}
.mb-1, .mb-2, .mb-3, .mb-4 {
    margin-bottom: 10px;
}

/* Eco Green Custom Checkbox */
.eco-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.eco-checkbox input[type="checkbox"] {
    appearance: none;
    width: 50px;
    height: 22px;
    border: 2px solid #2d6a4f;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background-color: #fff;
}

.eco-checkbox input[type="checkbox"]:hover {
    border-color: #40916c;
}

/* Checked state */
.eco-checkbox input[type="checkbox"]:checked {
    background-color: #2d6a4f;
    border-color: #2d6a4f;
}

/* Checkmark */
.eco-checkbox input[type="checkbox"]:checked::after {
    content: "✔";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

/* Label styling */
.eco-checkbox label {
    cursor: pointer;
    color: #2d6a4f;
    font-size: 15px;
    line-height: 1.5;
    text-align: justify;
}

/* Error state */
.eco-checkbox input:invalid {
    border-color: red;
}

.is-invalid {
    border-color: #ee2b09 !important;
}

.invalid-feedback {
    display: none;
    color: #ee2b09 !important;
    font-size: 14px;
    margin-top: 5px;
}

.show-error {
    display: block !important;
}