/* General form styles */
.wizard-form {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background-color: #f4f6f9; */
    /* color: #333; */
}

.wizard-form form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent;
}

.wizard-form .request-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 46px;
    line-height: 1;
    text-align: center;
}

.wizard-form .step {
    display: none;
}

.wizard-form .step.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 245px; /* adjust as needed */
}

.wizard-form .step-content {
    flex-grow: 1;
}

.wizard-form .step-actions {
    display: flex;
    justify-content: space-between;
}

.wizard-form .justify-end {
    justify-content: flex-end !important;
}

/* Modern Inputs and Labels */
.wizard-form input[type="text"],
.wizard-form input[type="email"],
.wizard-form input[type="file"],
.wizard-form button {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

/* Focus and active states */
.wizard-form input[type="text"]:focus,
.wizard-form input[type="email"]:focus,
.wizard-form input[type="file"]:focus,
.wizard-form button:focus {
    border-color: #0073aa;
    outline: none;
}

/* Button styles */
.wizard-form button {
    background-color: #00c3ff;
    border: 2px solid #fff !important;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.wizard-form input[type="submit"] {
    background-color: #00c3ff;
    border: 2px solid #fff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.wizard-form button:hover {
    background-color: #005f8d !important;
    color: white !important;
}

.wizard-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Button to go back and next */
.wizard-form button.next,
.wizard-form button.prev,
.wizard-form .submit-next {
    width: auto;
    padding: 10px 20px;
    margin-top: 15px;
}

.wizard-form button.next
.wizard-form .submit-next {
    float: right;
    margin-top: 15px;
}

.wizard-form button.prev {
    float: left;
}

/* Tile options section */
.wizard-form .tile-options {
    display: flex;
    gap: 10px;
}

.wizard-form .tile {
    padding: 30px 20px;
    background-color: #00c3ff;
    border: 2px solid #fff;
    border-radius: 8px;
    background: #f9f9f9;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 16px;
    text-align: center;
    flex-grow: 1;
}

.wizard-form .tile.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa !important;
}

.wizard-form .custom-file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.wizard-form .custom-file-upload input[type="file"] {
    display: none;
}

.wizard-form .upload-label {
    padding: 10px 16px;
    border-radius: 6px;
    background-color: #00c3ff;
    border: 2px solid #fff;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.wizard-form .upload-label:hover {
    background-color: #005f8d;
}

.wizard-form #file-name {
    font-size: 15px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.wizard-form .message {
    text-align: center;
    padding: 5px;
    font-weight: 500;
}

.wizard-form .message.success {
    background-color: white;
    color: #005f8d;
    border: 1px solid #c3e6cb;
}

.wizard-form .message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .wizard-form form {
        padding: 15px;
    }

    .wizard-form input[type="text"],
    .wizard-form input[type="email"],
    .wizard-form input[type="file"],
    .wizard-form button {
        font-size: 14px;
    }

    .wizard-form .tile {
        font-size: 14px;
        padding: 10px;
    }

    .wizard-form button.next,
    .wizard-form button.prev,
    .wizard-form .submit-next {
        font-size: 14px;
    }
}