/* User Management - Additional Styles */

/* Password match message */
.password-match-message {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.password-match-message:empty {
    display: none !important;
}

/* Password field container */
.form-group input[type="password"] {
    transition: border-color 0.3s ease;
}

.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color, #3b82f6);
}

/* Valid password state */
.form-group input[type="password"].valid {
    border-color: #10b981;
}

/* Invalid password state */
.form-group input[type="password"].invalid {
    border-color: #ef4444;
}

/* User item hover effects */
.user-item {
    transition: all 0.2s ease;
}

.user-item:hover {
    transform: translateX(4px);
}

/* Role badges */
.user-role {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-role.role-admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.user-role.role-user {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.user-role.role-viewer {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

/* User status badges */
.user-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-status.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.user-status.status-inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
