﻿.input-container {
    display: inline-block; /* Shrink-wrap the content */
    text-align: center; /* Center align the content inside */
    background-color: aliceblue;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.input-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.wizard-footer {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}


.input-box-row {
    display: flex;
    gap: 20px;
    justify-content: center; /* Center the input boxes */
}

.error {
    color: red; /* Make the error message red */
    margin-top: 10px;
    font-size:small;
}

.error-message2 {
    color: red; /* Make the error message red */
    font-weight: bold;
    margin-top: 10px;
}
.error-message {
    color: red; /* Make the error message red */
    font-weight: bold;
    margin-top: 10px;
    display: none; /* Initially hidden */
}
.error-message1 {
    color: red; /* Make the error message red */
    font-weight: bold;
    margin-top: 10px;
    display: none; /* Initially hidden */
}

.is-invalid {
    border-color: red;
}

.is-valid {
    border-color: green;
}

.shake {
    animation: shake 0.3s linear;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

.input-box {
    width: 100px;
    height: 100px;
    font-size: 72px;
    text-align: center;
    border: 2px solid #0da4d3;
    border-radius: 10px;
    outline: none;
    text-transform: uppercase;
}

    .input-box:focus {
        border-color: #0078a0;
    }

.tab-pane {
    overflow: visible; /* Allow content to overflow if necessary */
    padding-bottom: 20px; /* Add padding to prevent content from being cut off */
    min-height: 800px; /* Ensure a minimum height */
}

.tab-content {
    overflow: visible; /* Allow content to grow */
    height: auto; /* Let the height adjust dynamically */
}

.next-button:disabled {
    background-color: #ccc; /* Gray background */
    color: #666; /* Dimmed text color */
    cursor: not-allowed; /* Show "not allowed" cursor */
    pointer-events: none; /* Disable hover effects */
    box-shadow: none; /* Remove shadow */
}

.previous-button {
    background-color: #0da4d3; /* Match the steps background color */
    color: white;
    font-weight: bold;
    border: none;
    margin-top: 20px;
    position: relative; /* Use absolute positioning */
    right: 0; /* Align to the right edge of the container */
    z-index: 1; /* Ensure it appears above other content */
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.previous-button:hover {
    background-color: #0078a0;
    cursor: pointer;
}

.next-button {
    background-color: #0da4d3; /* Match the steps background color */
    color: white;
    font-weight: bold;
    border: none;
    margin-top: 20px;
    position: relative; /* Use absolute positioning */
    right: 0; /* Align to the right edge of the container */
    z-index: 1; /* Ensure it appears above other content */
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.next-button:hover {
    background-color: #0078a0;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-control:focus {
    border-color: #0da4d3;
    outline: none;
}

.button-container {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align */
    box-shadow: 0 -2px 8px rgba(0,0,0,0.03);
    padding: 0 0 12px 0;
}

    .button-container .nav-buttons {
        display: flex;
        gap: 532px; /* Increased from 10px to 32px for more space */
        margin-left: 0;
        margin-top: 0;
    }

    .button-container .blue-hr {
        width: 100%;
        border: none;
        border-top: 3px solid #007bff;
        margin: 0 0 10px 0;
    }

.tab-content {
    padding-bottom: 120px; /* Ensures content is not hidden behind sticky bar */
    display: flex;
    flex-direction: column;
    min-height: 300vh; /* Fill at least the viewport height */
}

.tab-pane {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Let content grow naturally */
}