﻿/* CSS compartilhado para telas B2B */
.form-input:focus,
.custom-input:focus {
    outline: none;
    border-color: #FDCD22;
    box-shadow: 0 0 0 3px rgba(253, 205, 34, 0.2);
}

.custom-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.custom-input.error {
    border-color: #ef4444;
}

.custom-input:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-hint {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 4px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.password-strength-weak {
    width: 33%;
    background-color: #ef4444;
}

.password-strength-medium {
    width: 66%;
    background-color: #f59e0b;
}

.password-strength-strong {
    width: 100%;
    background-color: #10b981;
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 1rem 1rem 0.95rem;
    border-radius: 0.75rem;
    background-color: #fff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 80;
    max-width: 26rem;
    min-width: 20rem;
    border: 1px solid #e5e7eb;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid #3b82f6;
}
