
.brand-logo img {
    height: 120px;
}

/* Modern styling improvements */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.text-danger {
    color: #e74c3c !important;
}

/* Steps wizard improvements - Fix for tab flickering */
.wizard > .steps {
    margin-bottom: 30px;
}

.wizard > .steps > ul > li {
    border-radius: 8px;
    margin: 0 5px;
}

.wizard > .steps a {
    border-radius: 8px;
    padding: 12px 20px;
}

.wizard > .steps .current a {
    background: #4a90e2;
    border-color: #4a90e2;
}

.wizard > .steps .done a {
    background: #27ae60;
    border-color: #27ae60;
}

/* Fix for tab content flashing */
.wizard > .content {
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.wizard > .content > .body {
    padding: 25px;
    position: relative;
    width: 100%;
}

/* Hide all sections by default and only show active one */
.wizard > .content > .body section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.wizard > .content > .body section.current {
    display: block;
    opacity: 1;
}

/* Button improvements */
.wizard > .actions a {
    background: #4a90e2;
    border-radius: 6px;
    padding: 10px 25px;
    font-weight: 600;
}

.wizard > .actions a:hover {
    background: #357abd;
}

/* Checkbox styling */
.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.form-group input[type="checkbox"]:checked {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

/* Alert improvements */
.alert-danger {
    background: #ffeaea;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #721c24;
}

/* Footer link */
.footer a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* Captcha styling */
.form-group img {
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

/* Mandatory text */
p[style*="color:red"] {
    font-size: 13px;
    margin-top: 15px;
    font-weight: 500;
}

/* Section headers */
h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Card title improvements */
.card-title {
    color: #2c3e50;
    font-weight: 700;
}

/* Error message improvements */
.error {
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.invalid-feedback {
    font-size: 12px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }

    .wizard > .steps a {
        padding: 8px 15px;
        font-size: 13px;
    }

    .form-control {
        padding: 10px 12px;
    }
}

/* Custom focus states */
.form-group:focus-within label {
    color: #4a90e2;
}

/* Smooth animation for step transitions */
.wizard > .content > .body {
    animation: fadeIn 0.4s ease-in-out;
}

.wizard-content .wizard>.actions {
    margin-left: 5px;
}

.wizard-content .wizard>.steps>ul>li.done a, .wizard-content .wizard>.steps>ul>li.done a:focus, .wizard-content .wizard>.steps>ul>li.done a:hover {
    color: #ffffff;
}

.wizard-content .wizard>.actions>ul {
    display: flex;
}

.logo-area{
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Improved checkbox alignment */
.d-flex {
    align-items: flex-start;
}

/* Terms and conditions link */
a[href*="TermsAndConditions"] {
    color: #4a90e2;
    text-decoration: none;
}

a[href*="TermsAndConditions"]:hover {
    text-decoration: underline;
}

/* Password strength indicator improvements */
.error[style*="color: green"] {
    color: #27ae60 !important;
    font-weight: 500;
}

/* Loading state for transitions */
.wizard > .content.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Ensure proper section visibility */
.wizard > .content > .body ul {
    display: none !important;
}

.wizard > .content > .body h3 {
    display: none !important;
}

.wizard > .content > .body section {
    display: none;
}

.wizard > .content > .body section.current {
    display: block;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.errdiv {
    display: inline-block;
}

 .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #da542e;
}

.wizard err {
    margin-top: 0px !important;
    display: block;
    height: auto !important;
}

.wizard .form-control {
    margin-bottom: 0.2rem !important;
}

.iti .error {
    top: 35px !important;
}

/* Ensure smooth transitions */
.wizard > .content {
    transition: opacity 0.3s ease;
}
