.modal-backdrop {
    backdrop-filter: blur(10px); 
    background-color: rgba(0, 0, 0, 0.9); 
}

.modal-content {
    border-radius: 20px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 1s ease;
    transform: translateY(-20px);
}

@keyframes modalFadeIn {
    from {
        opacity: 0.5;
        transform: translateY(-50px);
        backdrop-filter: blur(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        backdrop-filter: blur(200px);
    }
}

.progressbar {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.progressbar li {
    position: relative;
    flex: 1;
    text-align: center;
    color: #bbb;
}

.progressbar li.active {
    color: #4caf50; /* Active color with better contrast */
}

.progressbar li .step-number {
    display: block;
    font-size: 18px;
    background: #bbb;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin: 0 auto;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
}

.progressbar li.active .step-number {
    background: #4caf50; /* Active step background */
}

.step-text {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.step-icon {
    font-size: 20px;
    margin-top: 10px;
}

.cross {
    color: #f44336; /* Updated red color for incomplete */
}

.tick {
    color: #4caf50; /* Updated green color for completed */
}

/* Modal styling */
.modal-header, .modal-footer {
    background-color: #f9f9f9;
    border-bottom: none;
}

.modal-content {
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Enhanced form label styling */
.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    text-transform: capitalize;
}

/* Enhanced form control (input fields) */
.form-control {
    border-radius: 12px;
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #333;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-control::placeholder {
    color: #999;
    opacity: 1; /* Better visibility for placeholders */
}

.form-control:focus {
    border-color: #4caf50;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2); /* Light green focus glow */
    outline: none;
}

/* Enhancing the form group's layout */
.form-group {
    margin-bottom: 20px; /* More space between form fields */
}

/* Button styles */
.btn {
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    /* width: 100%; */
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 8px 16px;
    font-size: 14px; /* Smaller than primary button */
    width: 10%; /* Smaller button */
}

.btn-primary,
.btn-success {
    padding: 12px 20px;
    font-size: 16px; /* Bigger font size */
    width: 87%; /* Larger than secondary button */
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    border: none;
}

.btn-success:hover {
    background-color: #218838;
}

/* Social button styling */
.twm-modal-social li a {
    background: #007bff;
    color: #fff;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
}

.twm-modal-social li a:hover {
    background: #0056b3;
}

/* Progress bar icons for completed/active steps */
.step-icon.tick {
    color: #28a745; /* Green color for completed steps */
}

.step-icon.cross {
    color: #dc3545; /* Red color for incomplete steps */
}

/* Modal padding and layout enhancements */
.modal-header {
    padding-bottom: 0;
    border-bottom: none;
}

.modal-footer {
    padding-top: 15px;
    border-top: none;
}

/* Additional input form spacing */
.form-group {
    margin-bottom: 25px;
}

/* Button enhancements for better visibility */
.site-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

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

/* Focus state on input fields */
.form-control:focus {
    border-color: #4caf50;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
    outline: none;
}

/* General hover states for better interactivity */
.btn:hover, .site-button:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Footer text */
.modal-f-title {
    font-size: 14px;
    color: #777;
    margin-right: 10px;
}

/* Improved social button design */
.twm-modal-social li a {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    margin-right: 10px;
}

.twm-modal-social li a:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Green background for completed steps */
.step.completed .step-number {
    background-color: #28a745; /* Green background */
    color: white; /* Make the number white for better visibility */
}

.step.completed .step-icon.tick {
    color: #28a745; /* Green color for the tick/checkmark icon */
}

.step-icon.cross {
    color: #dc3545; /* Red color for incomplete steps */
}

.input-error {
    border-color: red;
}

