/* Auth Styles - Mobile First */
.auth-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0.75rem 3rem;
    background: var(--bg-primary);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 100%;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    box-sizing: border-box;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(229, 32, 86, 0.1);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-help {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Política / términos — checkbox alineado con texto multilínea */
.form-group--legal {
    margin-top: 0.25rem;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
    color: var(--text-secondary);
}

.auth-checkbox__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-checkbox__input:focus-visible + .auth-checkbox__box {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.auth-checkbox:focus-within .auth-checkbox__box {
    border-color: rgba(229, 32, 86, 0.55);
}

.auth-checkbox__box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-checkbox__input:checked + .auth-checkbox__box {
    background: var(--accent);
    border-color: var(--accent);
}

.auth-checkbox__input:checked + .auth-checkbox__box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -1px);
}

.auth-checkbox__text {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.auth-checkbox__text a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-checkbox__text a:hover {
    color: var(--accent-hover, #ff4d7d);
}

.light-theme .auth-checkbox__box {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Cloudflare Turnstile — centrado y marco que encaja en tema oscuro */
.auth-turnstile-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.35rem 0 0.65rem;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.auth-turnstile-wrap .cf-turnstile {
    min-height: 65px;
}

.light-theme .auth-turnstile-wrap {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
}

/* ===== Password Input Wrapper (show/hide toggle) ===== */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    transition: color 0.2s ease;
    border-radius: 0 8px 8px 0;
}

.password-toggle:hover {
    color: var(--accent);
}

.password-toggle:focus {
    outline: none;
    color: var(--accent);
}

.light-theme .password-toggle {
    color: #94a3b8;
}

.light-theme .password-toggle:hover,
.light-theme .password-toggle:focus {
    color: var(--accent);
}

/* ===== Password Strength Indicator ===== */
.password-strength {
    display: inline-block;
    margin-top: 0.375rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 20px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Strength 1 - Muy débil */
.password-strength.strength-1 {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Strength 2 - Débil */
.password-strength.strength-2 {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Strength 3 - Regular */
.password-strength.strength-3 {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Strength 4 - Buena */
.password-strength.strength-4 {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Strength 5 - Fuerte */
.password-strength.strength-5 {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Light theme adjustments for password strength */
.light-theme .password-strength.strength-1 {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}
.light-theme .password-strength.strength-2 {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}
.light-theme .password-strength.strength-3 {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}
.light-theme .password-strength.strength-4 {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}
.light-theme .password-strength.strength-5 {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.btn-block {
    width: 100%;
    padding: 0.875rem;
    margin-top: 0.5rem;
}

.forgot-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--accent-hover);
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

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

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.alert-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: var(--danger);
}

.alert i {
    margin-right: 0.5rem;
}

.alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* ===== Light Theme - Auth Overrides ===== */
.light-theme .auth-container {
    background: var(--bg-primary);
}

.light-theme .auth-card {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.light-theme .auth-title {
    color: var(--text-primary);
}

.light-theme .auth-description {
    color: var(--text-secondary);
}

.light-theme .form-group label {
    color: var(--text-primary);
}

.light-theme .form-group input,
.light-theme .form-group select,
.light-theme .form-group textarea {
    background-color: #f8f9fb;
    border-color: #cbd5e1;
    color: var(--text-primary);
}

.light-theme .form-group input::placeholder,
.light-theme .form-group textarea::placeholder {
    color: #9ca3af;
}

.light-theme .form-group input:focus,
.light-theme .form-group select:focus,
.light-theme .form-group textarea:focus {
    background-color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(229, 32, 86, 0.08);
}

.light-theme .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-color: #f8f9fb;
}

.light-theme .form-group select:focus {
    background-color: #ffffff;
}

.light-theme .form-help {
    color: #64748b;
}

.light-theme .auth-footer {
    color: var(--text-secondary);
}

.light-theme .alert-success {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.25);
    color: #15803d;
}

.light-theme .alert-warning {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.25);
    color: #b45309;
}

.light-theme .alert-error {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: #dc2626;
}

.light-theme .error-message {
    color: #dc2626;
}

/* Form Row Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
}

.form-row .form-group {
    width: 100%;
    min-width: 0;
}

/* Móvil / tablet: formularios casi a ancho completo, menos márgenes laterales */
@media (max-width: 767px) {
    .auth-container {
        padding: 0.5rem 0.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
        max-width: 100vw;
    }

    .auth-card {
        max-width: 100%;
        width: 100%;
        padding: 1.25rem 0.75rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .auth-title {
        font-size: 1.45rem;
        margin-bottom: 1rem;
    }

    .auth-form {
        gap: 1rem;
    }
}

/* Mobile small - prevent overflow */
@media (max-width: 480px) {
    .auth-container {
        padding: 0.5rem 0 2rem;
    }

    .auth-card {
        padding: 1.25rem 0.75rem;
    }

    .auth-title {
        font-size: 1.35rem;
    }

    .auth-checkbox__text {
        font-size: 0.875rem;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .auth-container {
        padding: 2rem 2rem 3rem;
    }
    
    .auth-card {
        max-width: 700px;
        padding: 2.5rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .form-row .form-group {
        width: 100%;
        min-width: 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .auth-container {
        padding: 2rem 2rem 3rem;
    }
    
    .auth-card {
        max-width: 900px;
        padding: 3rem;
    }
    
    .auth-form {
        gap: 1.5rem;
    }
    
    .form-group {
        gap: 0.625rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .auth-card {
        max-width: 1000px;
    }
}

/* Extra Large Desktop */
@media (min-width: 1536px) {
    .auth-card {
        max-width: 1200px;
    }
    
    .form-row {
        gap: 2rem;
    }
}


/* ============================================================
   LOGIN — CENTERED SHELL LAYOUT v3
   Tarjeta contenida y centrada: balanceada en ultrawide,
   una columna en móvil/tablet, dos columnas en desktop.
   ============================================================ */

/* --- Page wrapper: centra la shell y aporta glow sutil de fondo --- */
.login-page {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 1rem 0.75rem 3rem;
    background: var(--bg-primary);
    box-sizing: border-box;
    overflow: hidden;
}

.login-page::before,
.login-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.login-page::before {
    width: 560px;
    height: 560px;
    top: -220px;
    left: -140px;
    background: radial-gradient(circle, rgba(229, 32, 86, 0.07) 0%, transparent 70%);
}

.login-page::after {
    width: 680px;
    height: 680px;
    bottom: -300px;
    right: -180px;
    background: radial-gradient(circle, rgba(229, 32, 86, 0.05) 0%, transparent 70%);
}

/* --- Shell: tarjeta contenedora, nunca se estira en ultrawide --- */
.login-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

/* --- Brand panel (visible solo en desktop) --- */
.login-brand-panel {
    display: none;
}

/* --- Form panel --- */
.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 1.25rem 2.25rem;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-card .auth-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.login-card .auth-description {
    text-align: center;
    margin-bottom: 1.25rem;
}

/* Mobile logo badge */
.login-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(229, 32, 86, 0.3);
}

/* Actions row */
.login-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.5rem;
}

/* Submit button */
.login-btn {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 32, 86, 0.3);
}

/* ===== Brand Panel Inner ===== */
.login-brand-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.login-brand-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2.5rem;
}

.login-brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 24px rgba(229, 32, 86, 0.3);
}

.login-brand-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.login-brand-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 2.25rem;
    line-height: 1.5;
    max-width: 320px;
}

/* Perks list */
.login-perks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-perk {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.login-perk i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.login-perk span {
    line-height: 1.4;
}

/* Dot pattern decoration */
.login-dots {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
    z-index: 1;
}

/* ===== TABLET (768–991px): shell centrada de una sola columna ===== */
@media (min-width: 768px) {
    .login-page {
        align-items: center;
        padding: 2.5rem 2rem 4rem;
    }

    .login-shell {
        max-width: 480px;
        border-radius: 22px;
    }

    .login-form-panel {
        padding: 2.75rem 2.5rem 3rem;
    }
}

/* ===== DESKTOP (992px+): shell de dos columnas ===== */
@media (min-width: 992px) {
    .login-page {
        padding: 3rem 2.5rem 4.5rem;
    }

    .login-mobile-logo {
        display: none;
    }

    .login-shell {
        flex-direction: row;
        max-width: 960px;
        border-radius: 24px;
    }

    .login-brand-panel {
        position: relative;
        display: flex;
        flex: 0 0 45%;
        background: linear-gradient(160deg, #1a1a1a 0%, #151515 100%);
        border-right: 1px solid var(--border);
        overflow: hidden;
    }

    .login-brand-panel::before {
        content: '';
        position: absolute;
        top: -160px;
        left: -160px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(229, 32, 86, 0.12) 0%, transparent 70%);
        pointer-events: none;
        z-index: 1;
    }

    .login-form-panel {
        flex: 1;
        padding: 3rem 3.25rem;
    }

    .login-card .auth-title {
        text-align: left;
        font-size: 1.65rem;
    }

    .login-card .auth-description {
        text-align: left;
        margin-bottom: 1.5rem;
    }
}

/* ===== DESKTOP GRANDE (1280px+) ===== */
@media (min-width: 1280px) {
    .login-shell {
        max-width: 1040px;
    }

    .login-brand-content {
        padding: 3.5rem 3rem;
    }

    .login-brand-title {
        font-size: 2.15rem;
    }

    .login-brand-sub {
        font-size: 1rem;
    }

    .login-perks {
        gap: 1.125rem;
    }

    .login-perk {
        font-size: 0.95rem;
    }

    .login-form-panel {
        padding: 3.5rem 4rem;
    }
}

/* ===== ULTRAWIDE (1536px+): la shell permanece contenida ===== */
@media (min-width: 1536px) {
    .login-page {
        padding: 4rem 3rem 5.5rem;
    }

    .login-shell {
        max-width: 1100px;
    }

    .login-card {
        max-width: 420px;
    }
}

/* ===== Light Theme - Login Shell ===== */
.light-theme .login-page::before {
    background: radial-gradient(circle, rgba(229, 32, 86, 0.06) 0%, transparent 70%);
}

.light-theme .login-page::after {
    background: radial-gradient(circle, rgba(229, 32, 86, 0.04) 0%, transparent 70%);
}

.light-theme .login-shell {
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.light-theme .login-brand-panel {
    background: linear-gradient(160deg, #f1f3f9 0%, #e9ecf5 100%);
    border-right-color: var(--border);
}

.light-theme .login-brand-panel::before {
    background: radial-gradient(circle, rgba(229, 32, 86, 0.08) 0%, transparent 70%);
}

.light-theme .login-dots {
    opacity: 0.35;
}

/* ===== Register page (extracted from register.blade.php) ===== */
.required {
color: var(--danger, #e53935);
font-weight: 600;
}

.form-help {
display: block;
margin-top: 0.25rem;
font-size: 0.875rem;
color: var(--text-secondary, #94a3b8);
line-height: 1.4;
}

#doc_help {
display: inline-block;
margin-top: 0.375rem;
padding: 0.2rem 0.625rem;
font-size: 0.8125rem;
font-weight: 600;
color: var(--accent, #e52056);
background: rgba(229, 32, 86, 0.1);
border: 1px solid rgba(229, 32, 86, 0.2);
border-radius: 6px;
transition: all 0.3s ease;
}

.light-theme #doc_help {
color: #be185d;
background: rgba(190, 24, 93, 0.08);
border-color: rgba(190, 24, 93, 0.18);
}

/* Mejoras adicionales para selects */
.form-group select option {
background: var(--bg-secondary);
color: var(--text-primary);
padding: 0.5rem;
}

/* Asegurar que los selects usen todo el ancho */
.form-group select {
min-width: 0;
width: 100%;
max-width: 100%;
}

/* Espaciado móvil: reglas base en auth.css (auth-card ancho completo) */
@media (max-width: 768px) {
.form-group {
  gap: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
}
}

/* Mejorar accesibilidad y estados hover */
.form-group select:hover {
border-color: var(--accent);
}

.form-group select:active {
border-color: var(--accent);
}

/* Loading state para selects */
.form-group select[disabled] {
opacity: 0.6;
cursor: wait;
}

/* Mensaje de cliente encontrado */
.cliente-found-message {
margin-bottom: 1.5rem;
animation: slideDown 0.4s ease-out;
}

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

.cliente-found-content {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1.25rem;
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
border: 2px solid rgba(16, 185, 129, 0.3);
border-radius: 12px;
position: relative;
box-shadow: 0 4px 6px rgba(16, 185, 129, 0.1);
}

.cliente-found-icon {
flex-shrink: 0;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
border-radius: 50%;
color: white;
font-size: 1.5rem;
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.cliente-found-text {
flex: 1;
min-width: 0;
}

.cliente-found-text h3 {
margin: 0 0 0.5rem 0;
font-size: 1.125rem;
font-weight: 700;
color: #10b981;
line-height: 1.4;
}

.cliente-found-text p {
margin: 0;
font-size: 0.9375rem;
color: var(--text-primary);
line-height: 1.6;
}

.cliente-found-close {
flex-shrink: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: none;
border-radius: 6px;
color: var(--text-secondary);
cursor: pointer;
transition: all 0.2s ease;
padding: 0;
}

.cliente-found-close:hover {
background: rgba(0, 0, 0, 0.05);
color: var(--text-primary);
}

.cliente-found-close:active {
transform: scale(0.95);
}

.cliente-found-close i {
font-size: 1rem;
}

/* Responsive para mensaje de cliente encontrado en móvil pequeño */
@media (max-width: 576px) {
.cliente-found-content {
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.cliente-found-icon {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
}

.cliente-found-text h3 {
  font-size: 1rem;
}

.cliente-found-text p {
  font-size: 0.875rem;
}

.cliente-found-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
}
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
.cliente-found-content {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.cliente-found-close:hover {
  background: rgba(255, 255, 255, 0.1);
}
}
