:root {
    --brand-primary: #2563eb;
    --brand-bg: #ffffff;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
}

.brokers-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--brand-bg);
    min-height: 100vh;
    display: flex;
}

.brokers-sidebar {
    width: 260px;
    background: #0f172a;
    color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brokers-content {
    flex: 1;
    padding: 2rem;
}

.brokers-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-disponible { background: #dcfce7; color: #15803d; }
.badge-apartado { background: #fef9c3; color: #a16207; }
.badge-vendido { background: #fee2e2; color: #b91c1c; }


#brokers-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brokers-toast {
    min-width: 280px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out forwards;
}

.brokers-toast.success { border-left: 4px solid #22c55e; }
.brokers-toast.error { border-left: 4px solid #ef4444; }
.brokers-toast.info { border-left: 4px solid #3b82f6; }

.brokers-logo {
    max-width: 350px;
    margin: auto;
}

.epya_button, #brokers-login-form #wp-submit {
    width: 100%;
    background-color: #181818 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
}

a.brokers-forgot-password-btn {
    color: #181818 !important;
    text-decoration: none !important;
}

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

.site-header {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0;
    z-index: 999;
}

button.sidebar-close-btn {
    display: none;
}

.epy-hamburger-btn {
    display: none; 
}
@media (max-width: 780px) {
    /* 2. Mostrar y dar forma al contenedor del botón */
    .epy-hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-right: 15px; /* Ajusta el margen según tu diseño */
        z-index: 10;
    }

    /* 3. Estilizar las tres líneas */
    .epy-hamburger-btn .hamburger-line {
        width: 100%;
        height: 3px;
        background-color: var(--epy-primary-contrast, #12141c); /* Cambia el hex por el color que resalte en tu cabecera */
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
    }

    /* Efecto hover opcional */
    .epy-hamburger-btn:hover .hamburger-line {
        opacity: 0.8;
    }
}