/* Password UX Enhancement Styles */

/* Disabled button enforcement */
.btn-primary-mindmirror:disabled {
    background-color: #9ca3af !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Password toggle focus styles */
.pw-toggle:focus-visible {
    outline: 2px solid #6366f1 !important;
    outline-offset: 2px !important;
}

/* Password rule states */
.rule-item.ok .rule-icon {
    color: #10b981 !important;
    font-weight: bold !important;
}

.rule-item.ok .rule-text {
    color: #059669 !important;
}

.rule-item.fail .rule-icon {
    color: #ef4444 !important;
}

.rule-item.fail .rule-text {
    color: #dc2626 !important;
}

/* Password strength indicators */
.pw-strength.weak {
    color: #ef4444 !important;
}

.pw-strength.medium {
    color: #f59e0b !important;
}

.pw-strength.strong {
    color: #10b981 !important;
}

/* Password match status */
.match-success {
    color: #10b981 !important;
    font-weight: 500 !important;
}

.match-error {
    color: #ef4444 !important;
    font-weight: 500 !important;
}

/* Ensure button is always visible */
#createAccountBtn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Tab system improvements */
.tab-button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.tab-pane {
    display: none;
}

.tab-pane[aria-hidden="false"] {
    display: block !important;
}