﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f7f9fc;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}































.contact-section {
    padding: 40px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    background-color: #fff;
}

.contact-details {
    flex: 1 1 400px;
    background-color: #2d6cdf; /* Dark background similar to the image */
    color: #fff;
    padding: 30px;
    border-radius: 8px;
}

    .contact-details h3 {
        color: #cfcfcf; /* Light grey text */
        font-size: 1rem;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

    .contact-details h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .contact-details p {
        color: #ffff; /* Slightly lighter grey */
        line-height: 1.7;
        margin-bottom: 30px;
        font-size: 0.95rem;
    }

.contact-info-list .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

    .contact-info-list .info-item .material-icons {
        color: #ffff; /* Green icon color */
        margin-right: 15px;
        font-size: 1.5rem;
    }

    .contact-info-list .info-item span {
        display: block;
        font-size: 0.85rem;
        color: #a0aec0;
        margin-bottom: 5px;
    }

    .contact-info-list .info-item a,
    .contact-info-list .info-item address {
        color: #fff;
        text-decoration: none;
        font-style: normal;
        font-size: 1rem;
    }

.send-message-form {
    flex: 1 1 400px;
    padding: 30px;
    border-radius: 8px;
    background-color: #fff; /* White background for the form */
}

    .send-message-form h3 {
        color: #2d6cdf;
        font-size: 0.9rem;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

    .send-message-form h2 {
        font-size: 1.9rem;
        margin-bottom: 20px;
        font-weight: 500;
        color: #2d3748; /* Dark grey text */
    }

    .send-message-form p {
        color: #4a5568;
        line-height: 1.7;
        margin-bottom: 30px;
        font-size: 0.95rem;
    }

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .contact-form .form-group {
        position: relative;
    }

        .contact-form .form-group.full-width {
            grid-column: 1 / -1;
        }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e2e8f0; /* Light border */
        border-radius: 5px;
        font-size: 1rem;
        color: #2d3748;
        background-color: #edf2f7; /* Light background */
        box-sizing: border-box;
        outline: none;
        transition: border-color 0.2s ease-in-out;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #2d6cdf;
        }

    .contact-form textarea {
        min-height: 120px;
    }

.submit-button {
    grid-column: 1 / -1;
    text-align: left; /* Align button to the left */
}

.primary-button {
    background-color: #48bb78; /* Green button color */
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

    .primary-button:hover {
        background-color: #38a169;
    }

.primary-button {
    cursor: pointer;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    border-radius: 0.25rem;
    background-color: #007bff !important;
    color: white !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
}

    .primary-button:hover {
        color: #007bff !important;
        background-color: transparent !important;
        border: 2px solid #007bff;
        transform: translateY(-4px);
    }

.location-map {
    max-width: 1500px;
    margin: 30px auto 0;
    padding: 10px;
    background-color: #fff;
    text-align: center;
}

    .location-map h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: #2d3748;
    }

.map-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
}

    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        border: 0;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-details,
    .send-message-form {
        width: 100%;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}








/*este es el css para el modal de empleados*/

/* ------------------- Overlay centrador ------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.5);
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center; /* centra verticalmente */
    z-index: 1000;
    padding: 20px;
    overflow-y: auto; /* permite scroll en pantallas pequeñas */
}

/* ------------------- Modal compacto centrado ------------------- */
.modal {
    background: #fff;
    border-radius: 16px;
    width: 400px;
    max-width: 95%;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    overflow: hidden;
    animation: fadeIn 0.2s ease;
    margin: auto; /* asegura centrado vertical en scroll */
    display: flex;
    flex-direction: column;
}

/* ------------------- Header ------------------- */
.modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Botón cerrar */
.close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #6b7280;
    transition: color 0.2s ease;
}

    .close-btn:hover {
        color: #111827;
    }

/* ------------------- Body ------------------- */
.modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Contenedor para centrar imagen */
.image-container {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center; /* centra verticalmente */
    margin-top: 8px;
    margin-bottom: 8px;

}

    .image-container img,
    .image-container svg {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

/* Contenedor para inputs lado a lado */
.input-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .input-row .form-group {
        flex: 1;
    }

/* Formulario general */
.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #111827;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #3b82f6;
        background: #fff;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    }

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

/* ------------------- Footer y botones ------------------- */
.modal-footer {
    padding: 12px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn.outline.success {
        background: #3b82f6;
        color: white;
        border: 1px solid #3b82f6;
    }

        .btn.outline.success:hover {
            background: #2563eb;
            border-color: #2563eb;
        }

    .btn.outline.delete {
        background: #ef4444;
        color: white;
        border: 1px solid #ef4444;
    }

        .btn.outline.delete:hover {
            background: #dc2626;
            border-color: #dc2626;
        }

/* ------------------- Animación ------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------- Estados de carga y error ------------------- */
.loading,
.error {
    text-align: center;
    padding: 24px;
    font-size: 16px;
}

.error {
    color: #ef4444;
}

/* ------------------- Responsive ------------------- */
@media (max-width: 500px) {
    .modal {
        width: 100%;
        border-radius: 12px;
    }

    .input-row {
        flex-direction: column;
    }
}




.upload-container .imagen-previw-agent {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100vh; /* Ocupa toda la altura de la ventana */
    width: 100%;
    background-color: #f3f4f6; /* Opcional: fondo suave */
}

.file-upload-form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: fit-content;
}


.file-upload-label input {
    display: none;
}

.file-upload-label svg {
    height: 50px;
    fill: #1E3A8A; /* azul elegante */
    margin-bottom: 20px;
}

.file-upload-label {
    cursor: pointer;
    background-color: #EFF6FF; /* azul muy claro */
    padding: 30px 70px;
    border-radius: 40px;
    border: 2px dashed #3B82F6; /* azul medio elegante */
    box-shadow: 0px 0px 40px -10px rgba(59, 130, 246, 0.5); /* sombra azul suave */
    transition: all 0.3s ease;
}

    .file-upload-label:hover {
        background-color: #DBEAFE; /* azul ligeramente más oscuro */
        border-color: #2563EB; /* azul más intenso al pasar el mouse */
    }

.file-upload-design {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.browse-button {
    background-color: #2563EB; /* azul elegante */
    padding: 8px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .browse-button:hover {
        background-color: #1D4ED8; /* azul más intenso al pasar el mouse */
        transform: scale(1.05);
    }



.preview-img {
    max-width: 250px;
    max-height: 250px;
    border-radius: 12px;
    margin-bottom: 10px;
    object-fit: cover;
}


.preview-wrapper {
    position: relative;
    display: inline-block;
}

.preview-img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 12px;
    object-fit: cover;
}

.delete-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ef4444;
    border: none;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

    .delete-btn:hover {
        background-color: #dc2626;
    }


.imagen-previw-agent {
    position: relative; /* necesario para el botón flotante */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    border-radius: 16px;
    background-color: #f3f4f6;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Imagen */
.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Botón eliminar */
.delete-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .delete-btn:hover {
        background: rgba(220, 38, 38, 0.9); /* rojo al hover */
    }

    .delete-btn .material-icons {
        font-size: 20px;
        color: white;
    }















.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.1s ease;
}





/**


    botones 
   




    .btn.primary {
        background: #3b82f6;
        color: white;
    }

        .btn.primary:hover {
            background: #2563eb;
            transform: scale(1.03);
        }

    .btn.secondary {
        background: #6b7280;
        color: white;
    }

        .btn.secondary:hover {
            background: #4b5563;
            transform: scale(1.03);
        }

    .btn.outline {
        background: none;
        border: 1px solid #6b7280;
        color: #6b7280;
    }

        .btn.outline.edit {
            border-color: #3b82f6;
            color: #3b82f6;
        }

            .btn.outline.edit:hover {
                background: #3b82f6;
                color: white;
                transform: scale(1.03);
            }

        .btn.outline.delete {
            border-color: #ef4444;
            color: #ef4444;
        }

            .btn.outline.delete:hover {
                background: #ef4444;
                color: white;
                transform: scale(1.03);
            }

        .btn.outline.success {
            border-color: #08b50b;
            color: #08b50b;
        }

            .btn.outline.success:hover {
                background: #08b50b;
                color: white;
                transform: scale(1.03);
            }
         */










/**

    es para el modal de usuarios 
*/
/* ------------------- Checkbox personalizado ------------------- */
.checkbox-wrapper {
    display: inline-flex !important; /* inline para que no ocupe todo el ancho */
    align-items: center;
    gap: 8px; /* espacio entre círculo y texto */
    position: relative;
}

    /* Reseteamos estilos heredados del form-group */
    .checkbox-wrapper .inp-cbx {
        width: auto !important;
        padding: 0 !important;
        margin: 0;
        border: none;
        background: none;
        appearance: none; /* elimina estilo por defecto */
        -webkit-appearance: none;
    }

    /* Label del checkbox */
    .checkbox-wrapper .cbx {
        cursor: pointer;
        display: flex;
        align-items: center;
        position: relative;
        user-select: none;
        -webkit-user-select: none;
    }

        /* Contenedor de los spans */
        .checkbox-wrapper .cbx span {
            display: inline-block;
            vertical-align: middle;
            position: relative;
        }

            /* Círculo del checkbox */
            .checkbox-wrapper .cbx span:first-child {
                width: 24px;
                height: 24px;
                border-radius: 50%;
                border: 1px solid #b9b8c3;
                display: flex; /* centramos svg */
                justify-content: center; /* centrado horizontal */
                align-items: center; /* centrado vertical */
                position: relative;
                transition: all 0.2s ease;
            }

                /* SVG de la marca de check */
                .checkbox-wrapper .cbx span:first-child svg {
                    position: absolute;
                    z-index: 1;
                    top: 8px;
                    left: 6px;
                    fill: none;
                    stroke: white;
                    stroke-width: 2;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                    stroke-dasharray: 16px;
                    stroke-dashoffset: 16px;
                    transition: all 0.3s ease;
                    transition-delay: 0.1s;
                    transform: translate3d(0, 0, 0);
                }

                /* Fondo animado al marcar */
                .checkbox-wrapper .cbx span:first-child:before {
                    content: "";
                    width: 100%;
                    height: 100%;
                    background: #506eec;
                    display: block;
                    transform: scale(0);
                    opacity: 1;
                    border-radius: 50%;
                    transition: all 0.6s ease;
                    transition-delay: 0.2s;
                }

            /* Texto del label */
            .checkbox-wrapper .cbx span:last-child {
                margin-left: 8px;
                position: relative;
            }

                /* Línea de decoración del texto */
                .checkbox-wrapper .cbx span:last-child:after {
                    content: "";
                    position: absolute;
                    top: 8px;
                    left: 0;
                    height: 1px;
                    width: 100%;
                    background: #b9b8c3;
                    transform-origin: 0 0;
                    transform: scaleX(0);
                }

        /* Hover sobre el círculo */
        .checkbox-wrapper .cbx:hover span:first-child {
            border-color: #3c53c7;
        }

    /* Estado checked */
    .checkbox-wrapper .inp-cbx:checked + .cbx span:first-child {
        border-color: #3c53c7;
        background: #3c53c7;
        animation: check-15 0.6s ease;
    }

        .checkbox-wrapper .inp-cbx:checked + .cbx span:first-child svg {
            stroke-dashoffset: 0;
        }

        .checkbox-wrapper .inp-cbx:checked + .cbx span:first-child:before {
            transform: scale(2.2);
            opacity: 0;
        }

    .checkbox-wrapper .inp-cbx:checked + .cbx span:last-child {
        color: #b9b8c3;
        transition: all 0.3s ease;
    }

        .checkbox-wrapper .inp-cbx:checked + .cbx span:last-child:after {
            transform: scaleX(1);
            transition: all 0.3s ease;
        }

/* Animación del check */
@keyframes check-15 {
    50% {
        transform: scale(1.2);
    }
}




/**

    Estos son los estilos del seach bar
*/
.search-box {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 300px;
    line-height: 28px;
}

/* input */
.search-box__input {
    width: 100%;
    height: 45px;
    padding: 0 1rem;
    padding-left: 2.5rem; /* espacio para el ícono */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    background-color: #fff;
    color: #0d0c22;
    transition: .3s ease;
    font-family: 'Inter', sans-serif;
}

    .search-box__input::placeholder {
        color: #94a3b8; /* gris azulado más suave */
    }

    .search-box__input:focus,
    .search-box__input:hover {
        border-color: #0c4da2; /* color de tu logo */
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(12, 77, 162, 0.15); /* sombra con tu color */
    }

    .search-box__input:focus {
        background-color: #f8faff; /* fondo muy claro azul al focus */
    }

/* icon */
.search-box__icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%); /* centrado vertical */
    fill: #94a3b8; /* color del ícono más suave */
    width: 1.2rem;
    height: 1.2rem;
    transition: fill 0.3s ease;
}

.search-box__input:focus + .search-box__icon,
.search-box__input:hover + .search-box__icon {
    fill: #0c4da2; /* ícono cambia al color de tu logo */
}

/* Versión alternativa con fondo sutil */
.search-box--subtle .search-box__input {
    background-color: #f8faff; /* fondo azul muy suave */
    border-color: #e2e8f0;
}

    .search-box--subtle .search-box__input:focus {
        background-color: #fff;
        border-color: #0c4da2;
    }

/* Variante más compacta */
.search-box--compact .search-box__input {
    height: 40px;
    font-size: 0.875rem;
}

/* Variante para navbar/dark context */
.search-box--navbar .search-box__input {
    background-color: #f8faff;
    border: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .search-box--navbar .search-box__input:focus {
        background-color: #fff;
        box-shadow: 0 0 0 2px #0c4da2, 0 2px 4px rgba(0, 0, 0, 0.1);
    }



/*estos son los toast */

.blazored-toast {
    backdrop-filter: blur(10px);
    background: rgba(30, 30, 30, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease-in-out;
}

    .blazored-toast:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(0, 255, 200, 0.3);
    }

.blazored-toast-header {
    background: transparent !important;
    border-bottom: none !important;
    font-weight: 600;
}








/*prueba*/

.employee-list-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 20px;
}

    .header h2 {
        margin: 0;
        color: #2c3e50;
        font-size: 28px;
        font-weight: 600;
        flex: 1;
        min-width: 300px;
    }

.header-actions {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filters-section {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .filter-group label {
        margin-bottom: 0;
        font-weight: 500;
        color: #495057;
        font-size: 14px;
        white-space: nowrap;
    }

.status-filter {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    min-width: 150px;
}

    .status-filter:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }



/* Botones de Acciones de Propiedades - Estilos Específicos */
.property-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.property-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.property-edit {
    border-color: #0c4da2;
    color: #0c4da2;
}

    .property-edit:hover:not(:disabled) {
        background: #0c4da2;
        color: white;
        transform: scale(1.03);
        box-shadow: 0 2px 8px rgba(12, 77, 162, 0.3);
    }

    .property-edit:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        border-color: #9ca3af;
        color: #9ca3af;
    }

.property-unpublish {
    border-color: #f59e0b;
    color: #f59e0b;
}

    .property-unpublish:hover:not(:disabled) {
        background: #f59e0b;
        color: white;
        transform: scale(1.03);
    }

.property-publish {
    border-color: #10b981;
    color: #10b981;
}

    .property-publish:hover:not(:disabled) {
        background: #10b981;
        color: white;
        transform: scale(1.03);
    }

.property-delete {
    border-color: #ef4444;
    color: #ef4444;
}

    .property-delete:hover:not(:disabled) {
        background: #ef4444;
        color: white;
        transform: scale(1.03);
    }

.property-restore {
    border-color: #10b981;
    color: #10b981;
}

    .property-restore:hover:not(:disabled) {
        background: #10b981;
        color: white;
        transform: scale(1.03);
    }

/* Iconos dentro de los botones de propiedades */
.property-btn .material-icons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estados de hover específicos para mantener consistencia */
.property-edit:hover:not(:disabled) .material-icons,
.property-unpublish:hover:not(:disabled) .material-icons,
.property-publish:hover:not(:disabled) .material-icons,
.property-delete:hover:not(:disabled) .material-icons,
.property-restore:hover:not(:disabled) .material-icons {
    color: inherit;
}

/* Variante primaria con el color de tu logo */
.property-primary {
    border-color: #0c4da2;
    background: #0c4da2;
    color: white;
}

    .property-primary:hover:not(:disabled) {
        background: #0a3d82;
        border-color: #0a3d82;
        color: white;
        transform: scale(1.03);
        box-shadow: 0 4px 12px rgba(12, 77, 162, 0.4);
    }

/* Botón outline con tu color */
.property-outline {
    border-color: #0c4da2;
    color: #0c4da2;
    background: transparent;
}

    .property-outline:hover:not(:disabled) {
        background: #0c4da2;
        color: white;
        transform: scale(1.03);
    }

/* Estados focus para accesibilidad */
.property-btn:focus {
    outline: 2px solid #0c4da2;
    outline-offset: 2px;
}

.property-edit:focus {
    box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.2);
}



.btn.primary {
    background: #0c4da2;
    color: white;
    border-color: #0c4da2;
}

    .btn.primary:hover:not(:disabled) {
        background: #0a3d82;
        border-color: #0a3d82;
        box-shadow: 0 4px 12px rgba(12, 77, 162, 0.3);
    }

.btn.success {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

    .btn.success:hover:not(:disabled) {
        background: #1e7e34;
        border-color: #1e7e34;
    }

.btn.outline {
    background: transparent;
}

    .btn.outline.primary {
        color: #0c4da2;
        border-color: #0c4da2;
    }

        .btn.outline.primary:hover:not(:disabled) {
            background: #0c4da2;
            color: white;
            box-shadow: 0 2px 8px rgba(12, 77, 162, 0.2);
        }

    .btn.outline.success {
        color: #28a745;
        border-color: #28a745;
    }

        .btn.outline.success:hover:not(:disabled) {
            background: #28a745;
            color: white;
        }

    .btn.outline.warning {
        color: #ffc107;
        border-color: #ffc107;
    }

        .btn.outline.warning:hover:not(:disabled) {
            background: #ffc107;
            color: #212529;
        }

    .btn.outline.delete {
        color: #dc3545;
        border-color: #dc3545;
    }

        .btn.outline.delete:hover:not(:disabled) {
            background: #dc3545;
            color: white;
        }

.btn.delete {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

    .btn.delete:hover:not(:disabled) {
        background: #c82333;
        border-color: #c82333;
    }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estados focus para accesibilidad */
.btn.primary:focus,
.btn.outline.primary:focus {
    outline: 2px solid #0c4da2;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.2);
}



/* Estados de carga y empty states */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #0c4da2;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

    .loading-spinner.small {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.empty-state {
    background: #fff;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

    .empty-state .material-icons {
        font-size: 64px;
        color: #dee2e6;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        color: #6c757d;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .empty-state p {
        color: #6c757d;
        margin-bottom: 20px;
    }

/* Tabla */
.table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th {
        background: #f8f9fa;
        padding: 12px 16px;
        text-align: left;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #dee2e6;
        font-size: 14px;
    }

    .table td {
        padding: 12px 16px;
        border-bottom: 1px solid #dee2e6;
        vertical-align: top;
    }

    .table tr:hover {
        background: #f8f9fa;
    }

/* Celdas especiales */
.title-cell {
    font-weight: 600;
    color: #2c3e50;
}

.address-cell {
    max-width: 200px;
}

.address-tooltip {
    position: relative;
    cursor: help;
}

.address-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.address-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.price-cell {
    font-weight: 600;
    color: #28a745;
}

.feature-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
}

    .feature-with-icon .material-icons {
        font-size: 18px;
        color: #6c757d;
    }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

    .badge.published {
        background: #d4edda;
        color: #155724;
    }

    .badge.draft {
        background: #fff3cd;
        color: #856404;
    }

/* Características de propiedad */
.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.feature-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #bbdefb;
}

.feature-more {
    background: #f5f5f5;
    color: #666;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #e0e0e0;
}

/* Usuarios asignados */
.assigned-users {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.user-badge {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #c8e6c9;
}

.user-more {
    background: #f5f5f5;
    color: #666;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #e0e0e0;
}

/* Acciones */
.actions-column {
    width: 150px;
    text-align: right;
}

.actions-cell {
    text-align: right;
}

.action-buttons {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

    .action-buttons .btn {
        padding: 6px 8px;
    }

        .action-buttons .btn .material-icons {
            font-size: 16px;
        }

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #6c757d;
    font-size: 14px;
}

.total-items {
    font-size: 12px;
    color: #adb5bd;
}

/* Modal Wizard */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.large-modal {
    max-width: 900px;
    width: 95%;
    max-height: 95vh;
}

.wizard-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

    .modal-header h2 {
        margin: 0;
        color: #2c3e50;
        font-size: 24px;
        font-weight: 600;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-btn:hover {
        background: #e9ecef;
        color: #495057;
    }

/* Wizard Steps */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.step.active .step-number {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

.step.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.step.completed .step-number {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.step.completed .step-label {
    color: #28a745;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 10px;
    position: relative;
    top: -16px;
}

.step.completed + .step-connector {
    background: #28a745;
}

/* Modal Body */
.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.form-section {
    margin-bottom: 0;
}

    .form-section h3 {
        margin: 0 0 20px 0;
        color: #2c3e50;
        font-size: 20px;
        font-weight: 600;
        padding-bottom: 12px;
        border-bottom: 2px solid #f8f9fa;
    }

.section-description {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group label {
        font-weight: 500;
        color: #495057;
        font-size: 14px;
    }

        .form-group label.required::after {
            content: " *";
            color: #dc3545;
        }

.form-control {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

.textarea {
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

/* Características */
.features-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}

.selected-features-summary {
    background: #e8f5e8;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    font-weight: 500;
}

    .selected-count .material-icons {
        color: #4caf50;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.feature-checkbox {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

    .feature-checkbox:hover {
        background: #f8f9fa;
        border-color: #007bff;
    }

    .feature-checkbox input[type="checkbox"] {
        display: none;
    }

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.feature-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #28a745;
    border-color: #28a745;
}

    .feature-checkbox input[type="checkbox"]:checked + .checkmark::after {
        content: "✓";
        position: absolute;
        color: white;
        font-size: 12px;
        font-weight: bold;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.feature-content {
    flex: 1;
}

.feature-name {
    display: block;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 4px;
}

.feature-description {
    display: block;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

/* Usuarios */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.user-checkbox {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

    .user-checkbox:hover {
        background: #f8f9fa;
        border-color: #007bff;
    }

    .user-checkbox.primary-user {
        border-color: #ffc107;
        background: #fffbf0;
    }

        .user-checkbox.primary-user:hover {
            border-color: #ffb300;
        }

    .user-checkbox input[type="checkbox"] {
        display: none;
    }

.user-content {
    flex: 1;
    margin-left: 12px;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.primary-badge {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .primary-badge .material-icons {
        font-size: 14px;
    }

.user-email {
    display: block;
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 8px;
}

.user-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.user-role-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    border: 1px solid #bbdefb;
}

.user-role-more {
    background: #f5f5f5;
    color: #666;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    border: 1px solid #e0e0e0;
}

.user-status {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
}

    .user-status.active {
        background: #d4edda;
        color: #155724;
    }

    .user-status.inactive {
        background: #f8d7da;
        color: #721c24;
    }

.user-actions {
    margin-top: 10px;
}

.btn-set-primary {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid #ffc107;
    border-radius: 4px;
    background: transparent;
    color: #ffc107;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-set-primary:hover {
        background: #ffc107;
        color: #212529;
    }

    .btn-set-primary.active {
        background: #ffc107;
        color: #212529;
    }

    .btn-set-primary .material-icons {
        font-size: 14px;
    }

.primary-user-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffc107;
    font-weight: 500;
    font-size: 13px;
}

    .primary-user-indicator .material-icons {
        font-size: 16px;
    }

.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #856404;
}

    .warning-message .material-icons {
        color: #ffc107;
    }

/* Imágenes */
.image-upload-section {
    margin-top: 20px;
}

.file-upload-container {
    margin-bottom: 25px;
}

.file-upload-form {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

    .file-upload-form:hover {
        border-color: #007bff;
        background: #f8f9fa;
    }

.file-upload-label {
    cursor: pointer;
    display: block;
}

.file-upload-design {
    color: #6c757d;
}

    .file-upload-design svg {
        width: 48px;
        height: 48px;
        fill: #dee2e6;
        margin-bottom: 12px;
    }

    .file-upload-design p {
        margin: 8px 0;
        font-size: 14px;
    }

.browse-button {
    
    font-weight: 500;
   
}

.file-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #adb5bd;
}

.file-input {
    display: none;
}

.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

    .image-preview-item.main-image {
        border-color: #007bff;
    }

    .image-preview-item img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }

.image-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 4px;
}

.btn-icon {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-icon:hover {
        background: rgba(0, 0, 0, 0.9);
    }

    .btn-icon.active {
        background: #007bff;
    }

    .btn-icon.delete:hover {
        background: #dc3545;
    }

    .btn-icon .material-icons {
        font-size: 16px;
    }

.main-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #007bff;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

/* Resumen */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.summary-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

    .summary-section h4 {
        margin: 0 0 15px 0;
        color: #2c3e50;
        font-size: 16px;
        font-weight: 600;
        padding-bottom: 8px;
        border-bottom: 1px solid #dee2e6;
    }

.summary-item {
    margin-bottom: 8px;
    color: #495057;
    font-size: 14px;
}

    .summary-item:last-child {
        margin-bottom: 0;
    }

    .summary-item strong {
        color: #2c3e50;
    }

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.selected-features-list,
.selected-users-list {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
    margin-bottom: 12px;
}

.selected-feature-item,
.selected-user-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 6px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

    .selected-feature-item:last-child,
    .selected-user-item:last-child {
        margin-bottom: 0;
    }

    .selected-feature-item.primary-user,
    .selected-user-item.primary-user {
        border-color: #ffc107;
        background: #fffbf0;
    }

    .selected-feature-item .material-icons,
    .selected-user-item .material-icons {
        color: #28a745;
        font-size: 16px;
        margin-right: 8px;
    }

    .selected-user-item.primary-user .material-icons {
        color: #ffc107;
    }

.user-info {
    flex: 1;
}

.primary-label {
    color: #ffc107;
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
}

.feature-type {
    color: #6c757d;
    font-style: italic;
    margin-left: 5px;
    font-size: 11px;
}

.final-warning {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #0c5460;
}

    .final-warning .material-icons {
        color: #0c5460;
        font-size: 20px;
        flex-shrink: 0;
    }

    .final-warning p {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
    }

/* Footer del Wizard */
.modal-footer.wizard-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.step-indicator {
    font-weight: 500;
    color: #6c757d;
    font-size: 14px;
}

.next-step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.validation-hint {
    text-align: center;
}

.text-warning {
    color: #dc3545;
    font-size: 12px;
}

.material-icons.spinning {
    animation: spin 1s linear infinite;
}

/* Estados de carga */
.loading-features,
.empty-features {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

    .empty-features .material-icons {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 15px;
    }

/* Imágenes de propiedad */
.property-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

    .property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c4da2;
}

    .image-placeholder .material-icons {
        font-size: 24px;
    }

.text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: stretch;
    }

        .header h2 {
            min-width: auto;
            text-align: center;
        }

    .header-actions {
        justify-content: center;
    }

    .filters-section {
        padding: 12px;
    }

    .filter-group {
        justify-content: center;
        text-align: center;
    }

    .search-box {
        min-width: 250px;
    }

    .table-container {
        overflow-x: auto;
    }

    .actions-cell .action-buttons {
        flex-direction: column;
        gap: 4px;
    }

    .modal-overlay {
        padding: 10px;
    }

    .large-modal {
        width: 100%;
        max-height: 90vh;
    }

    .wizard-steps {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-connector {
        display: none;
    }

    .modal-body {
        padding: 20px;
        max-height: 50vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .users-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .wizard-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .step-indicator {
        order: -1;
    }
}

@media (max-width: 576px) {
    .employee-list-container {
        padding: 15px;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
        width: 100%;
    }

    .pagination {
        flex-direction: column;
        gap: 10px;
    }

    .modal-header {
        padding: 15px 20px;
    }

        .modal-header h2 {
            font-size: 20px;
        }

    .wizard-steps {
        padding: 10px 15px;
    }

    .step-label {
        font-size: 10px;
    }

    .modal-body {
        padding: 15px;
    }
}



.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

    .notification.success {
        background-color: #4CAF50;
    }

    .notification.error {
        background-color: #f44336;
    }

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}






/* Agregar estos estilos si no existen */
.user-checkbox.selected {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.user-checkbox.primary-user {
    border-color: #ffc107;
    background-color: #fff9e6;
}

    .user-checkbox.primary-user.selected {
        border-color: #ffc107;
        background-color: #fff3cd;
    }

.primary-user-indicator {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-left: 10px;
}








.existing-images-section {
    margin-bottom: 2rem;
}

.section-divider {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.new-images-section {
    margin-top: 1.5rem;
}

.image-label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.images-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.existing-images-section h4,
.new-images-section h5 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}






/*
    para los estados 



*/


/* Estilos para propiedades eliminadas */
.property-deleted-row {
    background-color: #f8f9fa !important;
    opacity: 0.7;
    position: relative;
}

    .property-deleted-row::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(220, 53, 69, 0.03) 0%, rgba(220, 53, 69, 0.08) 50%, rgba(220, 53, 69, 0.03) 100%);
        pointer-events: none;
    }

    .property-deleted-row:hover {
        background-color: #f1f3f4 !important;
        opacity: 0.8;
    }

/* Badge para estado eliminado */
.badge.deleted {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Imagen de propiedad eliminada */
.property-deleted-row .property-image {
    opacity: 0.6;
    filter: grayscale(0.7);
    position: relative;
}

    .property-deleted-row .property-image::after {
        content: "🚫";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        background: rgba(220, 53, 69, 0.9);
        color: white;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

/* Título de propiedad eliminada */
.property-deleted-row .title-cell strong {
    color: #6c757d !important;
    text-decoration: line-through;
    opacity: 0.8;
}

/* Precio de propiedad eliminada */
.property-deleted-row .price-cell strong {
    color: #6c757d !important;
    opacity: 0.6;
}

/* Características de propiedad eliminada */
.property-deleted-row .feature-badge {
    background: #e9ecef !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    opacity: 0.6;
}

/* Usuarios asignados en propiedad eliminada */
.property-deleted-row .user-badge {
    background: #e9ecef !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    opacity: 0.6;
}

/* Botones deshabilitados en propiedades eliminadas */
.property-deleted-row .btn:disabled {
    opacity: 0.4 !important;
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

/* Iconos en propiedades eliminadas */
.property-deleted-row .material-icons {
    opacity: 0.5;
}

/* Estado especial para la fila completa */
.property-deleted-row td {
    border-bottom-color: #e9ecef !important;
    position: relative;
}

/* Indicador lateral para propiedades eliminadas */
.property-deleted-row::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #dc3545;
    border-radius: 2px 0 0 2px;
}

/* Tooltip especial para propiedades eliminadas */
.property-deleted-row .address-tooltip .tooltip-content {
    background: #dc3545;
    color: white;
}

    .property-deleted-row .address-tooltip .tooltip-content::before {
        content: "🚫 ";
        font-size: 10px;
    }

/* Efecto de hover reducido para propiedades eliminadas */
.property-deleted-row:hover {
    transform: none;
    box-shadow: none;
}

/* Texto muted adicional para propiedades eliminadas */
.property-deleted-row .text-muted {
    opacity: 0.5;
}

/* Badge publicado en título para propiedades eliminadas */
.property-deleted-row .badge.published {
    background: #e9ecef !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    opacity: 0.6;
    text-decoration: line-through;
}

/* Estilos para las características en propiedades eliminadas */
.property-deleted-row .property-features {
    opacity: 0.6;
}

/* Estilos para los usuarios asignados en propiedades eliminadas */
.property-deleted-row .assigned-users {
    opacity: 0.6;
}

/* Contador de características en propiedades eliminadas */
.property-deleted-row .feature-more {
    background: #e9ecef !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    opacity: 0.6;
}

/* Contador de usuarios en propiedades eliminadas */
.property-deleted-row .user-more {
    background: #e9ecef !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    opacity: 0.6;
}

/* Estilos para el modal de confirmación de eliminación */
.confirmation-modal .warning-icon {
    color: #dc3545;
    font-size: 48px;
    margin-bottom: 15px;
}

.confirmation-modal .success-icon {
    color: #28a745;
    font-size: 48px;
    margin-bottom: 15px;
}

.confirmation-content {
    text-align: center;
    padding: 20px;
}

    .confirmation-content h3 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .confirmation-content p {
        color: #6c757d;
        margin-bottom: 10px;
        line-height: 1.5;
    }

.warning-text {
    color: #dc3545 !important;
    font-weight: 500;
    background: #f8d7da;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-top: 15px;
}

.success-text {
    color: #155724 !important;
    font-weight: 500;
    background: #d4edda;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin-top: 15px;
}

/* Estilos responsivos para propiedades eliminadas */
@media (max-width: 768px) {
    .property-deleted-row::after {
        width: 3px;
    }

    .property-deleted-row .property-image::after {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }

    .badge.deleted {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Animación sutil para filas eliminadas */
@keyframes fadeInDeleted {
    from {
        opacity: 0;
        background-color: #fff3f3;
    }

    to {
        opacity: 0.7;
        background-color: #f8f9fa;
    }
}

.property-deleted-row {
    animation: fadeInDeleted 0.5s ease-in-out;
}

/* Estilo para cuando se filtra por propiedades eliminadas */
.table-container.showing-deleted .property-deleted-row {
    opacity: 1;
    background-color: #fff !important;
}

    .table-container.showing-deleted .property-deleted-row:hover {
        background-color: #f8f9fa !important;
    }

/* Indicador visual adicional para propiedades eliminadas en modo móvil */
@media (max-width: 576px) {
    .property-deleted-row {
        border-left: 3px solid #dc3545;
    }

        .property-deleted-row::after {
            display: none;
        }
}







/*
    esto es para la parte de edicion 
*/


/* Estilos para la búsqueda de usuarios */

.user-search-section {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.user-search {
    flex: 1;
    min-width: 300px;
}

.user-filter-info {
    text-align: center;
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 13px;
}

.empty-search-results {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

    .empty-search-results .material-icons {
        font-size: 48px;
        color: #adb5bd;
        margin-bottom: 15px;
    }

    .empty-search-results p {
        margin-bottom: 15px;
        font-size: 14px;
    }

/* Mejoras responsivas */
@media (max-width: 768px) {
    .user-search-section {
        flex-direction: column;
        align-items: stretch;
    }

    .user-search {
        min-width: auto;
    }
}


























