a,
button {
    position: relative;
    z-index: 10;
    cursor: pointer !important;
}


header,
select {
    background-color: #fff
}

.language-popup,
.user-popup {
    box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
    min-width: 190px
}

select {
    height: 50px;
    border-radius: 5px;
    border: 2px solid #222;
    padding: 0 10px;
    font-family: 'Cereal medium';
    font-size: 16px;
    color: #222;
    cursor: pointer
}

select:focus {
    outline: 0;
    border: 2px solid #222
}

.crm-column,
.dashboard-content,
.lead-item,
.menu-left,
input[type=text],
textarea {
    box-sizing: border-box
}

.hidden,
.popup {
    opacity: 0;
    visibility: hidden
}

body {
    margin: 0;
    font-family: 'Cereal book', Lato, Roboto, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased
}


.button,
.menu-left a,
.menu-left ul li,
.panel-item,
.user-trigger,
h6,
header,
input[type=submit] {
    font-family: 'Cereal medium';
    font-weight: 100;

}

header {
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 4;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06)
}

.container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0 20px
}

.logo svg {
    display: block
}

.header-cta,
.header-menu {
    display: flex;
    align-items: center;
    gap: 30px
}

.header-cta a,
.header-menu a {
    text-decoration: none;
    color: inherit
}

.button,
input[type=submit] {
    height: 50px;
    background-color: #222222;
    border-radius: 5px;
    color: #fff;
    border: 0;
    padding: 0 20px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s
}

.btn-secondary {
    background-color: #fff;
    border: 0 solid #222;
    color: #222
}

.btn-secondary:hover {
    background-color: #fff !important
}

.left-side,
.right-side {
    height: 100vh;
    width: 50%;
    display: flex
}


.button:hover,
input[type=submit]:hover {
    background-color: #000000;
    ;
}

.left-side {
    float: left;
    justify-content: center;
    align-items: center
}

.right-side {
    float: right;
    background-color: #f5f5f7;
    justify-content: center;
    align-items: center
}

.login-container {
    text-align: left;
    max-width: 390px;
    width: 100%
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 0px
}

.login-container label {
    margin-bottom: 5px;
    display: block;
    text-align: left;
    font-size: 14px
}

.g_id_signin {
    margin: 40px 0;
}

.login-container input[type=email],
.login-container input[type=password],
.login-container input[type=text],
.login-container input[type=tel] {
    width: 100%;
    padding: 20px 14px;
    font-size: 14px;
    width: calc(100%);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05);
    transition: border .2s, box-shadow .2s
}

.login-container input[type=email]:focus,
.login-container input[type=password]:focus,
.login-container input[type=text]:focus,
.login-container input[type=tel]:focus,
.menu-left select:focus {
    border-color: #3274c4;
    box-shadow: 0 0 0 5px #c6e6fb;
    outline: 0
}

.login-container .login-remember,
.login-remember {
    display: none !important
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px
}

.login-actions .forgot-password {
    margin: 0;
    font-size: 13px
}

.login-actions .forgot-password a {
    color: #222;
    text-decoration: underline
}

.divider {
    margin: 25px 0;
    border: none;
    height: 1px;
    background-color: #ebebeb
}

.signup-text {
    font-size: 14px;
    text-align: left
}

a {
    color: #3274c4;
    text-decoration: underline;
    font-weight: 500
}

.dashboard-wrapper,
.main-container {
    display: flex;
    height: 100vh;
    overflow: visible
}



.dashboard-content {
    flex: 1;
    padding: 30px 20px;
    overflow-y: auto;
    background-color: #f5f5f7;

}

.page,
ul {
    margin: 0;
    padding: 0
}

.menu-left select {
    width: 90%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7L0 0h12L6 7z' fill='rgba(34,34,34,0.3)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 7px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05);
    transition: border .2s, box-shadow .2s;
    margin: 20px auto;
    display: block
}

.menu-left a,
.panel-item {
    font-size: 15px
}

.menu-left a {
    list-style: none;
    text-decoration: none;
    color: #3a3a3a;
    padding: 15px;
    width: calc(100% - 30px);
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

.language-popup a,
.user-popup a {
    gap: 8px;
    color: #333;
    text-decoration: none;
    transition: background .2s
}

.menu-left a:hover {
    background-color: #f5f5f7;
    border-radius: 10px
}

.menu-left a.active {
    background-color: #222;
    border-radius: 10px;
    color: #ffffff
}

.crm-content {
    display: flow-root;
    position: relative;
    margin: 0 auto
}

.crm-column,
.crm-container,
.crm-content,
.language-popup a,
.panel,
.panel-item {
    display: flex;
    display: flex
}

.h1,
.h2,
h1,
h2,
h3,
h6 {
    margin: 0
}

.panel {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px
}

.language-trigger,
.user-trigger {
    all: unset;
    gap: 6px;
    cursor: pointer
}

.panel-item {
    flex: 1 1 calc(30% - 20px);
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);

    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background-color: #fff;
    padding: 20px;
    min-height: 180px;
    width: 25%;
    float: left;
    text-align: center
}

.h2,
h2,
h3 {
    font-size: 40px;
    margin-top: 15px;
    margin-bottom: -10px;
}

.crm-content {
    flex-direction: column;
    flex-grow: 1;
    flex-direction: column
}

.crm-container {
    flex-grow: 1;
    align-items: flex-start
}

.crm-column {
    flex: 1;
    flex-direction: column;
    align-items: center
}


.language-selector,
.user-menu {
    position: relative;
    display: inline-block
}

.language-trigger {
    display: inline-flex;
    align-items: center;
    font-size: 14px
}

.language-popup {
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 30px 30px;
    display: none;
    z-index: 100;
    font-size: 14px
}

.language-popup a {
    align-items: center;
    border-radius: 8px;
    padding: 15px 20px;

}

.language-popup a:hover,
.user-popup a:hover {
    background-color: #f5f5f7;
    padding: 15px 20px;
}

.logo-fadein {
    display: inline-block;
    opacity: 0;
    animation: .3s .1s forwards fadeInUp
}

p.login-password,
p.login-username {
    margin: 10px 0;
}

.hi-fadein {
    opacity: 0;
    animation: .3s .2s forwards fadeInUp
}

.hero-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 90px 20px 110px 20px;
    background-color: #f5f5f7;
    min-height: calc(870px - 220px);
}

.full-width {
    background-color: #f5f5f7;
    padding: 150px 20px;
}

.hero-section img {
    max-width: 1560px;
    margin: 0 auto;
    margin-top: 60px;
    width: 100%;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}


.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 40px;
    font-family: 'Cereal book';
    font-weight: 0;
    opacity: 0;
    animation: 1s .1s forwards fadeInUp
}

.hero-content .button {
    opacity: 0;
    animation: 1s .3s forwards fadeInUp
}

img {
    display: block;
    opacity: 0;
    transition: opacity .5s ease-in-out
}

img.loaded {
    opacity: 1
}

.user-trigger {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    border-radius: 0px;
    width: 330px;
    padding: 5px;
    min-height: 60px
}

.online {
    height: 11px;
    border-radius: 50%;
    background-color: #83BA6D;
    width: 11px;
    position: absolute;
    top: 47px;
    left: 38px;
    border: 5px solid #fff
}


.popup,
.spinner {
    top: 0;
    left: 0;
    position: fixed
}

.user-popup a {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 15px 20px;
}

input#quoteInput,
input[type=text],
input,
textarea {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    padding: 0 5px
}


.login-error,
.login-success {
    margin: 30px 0;
    border-radius: 16px;
    padding: 20px 24px;
    font-weight: 500;
    line-height: 1.5
}

.trustpilot-left {
    float: left;
    height: 130px
}

.trustpilot-right {
    float: right
}

.trustpilot a {
    color: #222;
    text-decoration: underline;
    font-size: 17px;
    display: flex;
    align-items: center;
    margin-top: 50px
}

h3 {
    font-size: 24px
}

.login-error {
    background-color: #ffe5e5;
    border-left: 6px solid #ff8a8a;
    font-size: 15px;
    color: #560110;
    box-shadow: 0 2px 10px rgba(255, 0, 0, .05)
}

.login-success {
    background-color: #e5fff0;
    border-left: 6px solid #5dd49c;
    font-size: 15px;
    color: #014d2b;
    box-shadow: 0 2px 10px rgba(0, 255, 136, .05)
}

.popup {
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .2);
    z-index: 99999 !important;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.popup.open {
    opacity: 1;
    visibility: visible;
    display: block;
}

.popup.hidden {
    display: none;
}


.popup .popup-content {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(100%);
    width: 500px;
    height: 550px;
    padding: 50px;
    background-color: #fff;
    border-radius: 20px;
    overflow: auto;
    backdrop-filter: blur(10px);
    transition: transform .3s ease-in-out;
    justify-content: center;
    text-align: left !important
}

.popup.open .popup-content {
    transform: translateX(-50%) translateY(50%);
    bottom: 50%
}

.popup .popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #fff
}

.crm-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 50px);
    overflow: hidden;
    padding: 30px
}

.crm-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 10px
}

.crm-container {
    flex-grow: 1;
    display: flex;
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
    align-items: flex-start;
    gap: 10px;
    overflow: visible
}

.lead-header img {
    border-radius: 50%;
    height: 35px;
    width: 35px
}

.crm-column {
    flex: 1;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: calc(100vh - 180px)
}

.crm-colum-header {
    background-color: #fff;
    width: 100%;
    position: relative;
    border-radius: 10px;
    padding: 15px 0;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);

}

h6 {
    font-size: 15px;
    padding-left: 20px
}

.lead-list {
    min-height: calc(100vh - 130px);
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.lead-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0
}


.menu-left ul li {
    padding: 10px 0;
    font-size: 15px
}

.lead-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 30px);
    /*background-color: #f5f5f7;*/
    padding: 10px;
    border: 5px solid #fff;
    border-radius: 10px 10px 0 0
}


.lead-item {
    width: 100%;
    background: #fff;
    cursor: grab;
    transition: background .2s ease-in-out;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
}

.add-lead-item {
    width: 100%;
    background: #f5f5f7;
    cursor: pointer;
    transition: background .2s ease-in-out;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    box-shadow: inset 0 0 0 5px #fff;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 0 20px;
    font-size: 13px;
    color: #fff;
}

@keyframes tadah {
    0% {
        transform: scale(1);
    }

    10%,
    20% {
        transform: scale(0.95) rotate(-1deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale(1.05) rotate(1deg);
    }

    40%,
    60%,
    80% {
        transform: scale(1.05) rotate(-1deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.tadah {
    animation: tadah 0.8s ease-in-out;
}




.lead-header.aceptado {
    /*background-color: rgba(223, 240, 216, .5)*/
}

.lead-header.rechazado {
    background-color: rgba(242, 222, 222, .4);
}

.lead-header img.avatar {
    border-radius: 50%;
    height: 30px;
    width: 30px;
    border: 2px solid #fff
}

.lead-info {
    flex-grow: 1;
    padding-left: 10px;
    text-align: left;
    line-height: 17px
}

.lead-info strong {
    font-size: 14px
}

.lead-info .lead-date {
    font-size: 11px;
    color: #777;
    float: right;
    margin-top: -18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-phone a {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 13px
}

.lead-body {
    text-align: left;
    padding: 10px 10px 0 20px;
    font-size: 13px;
    color: #777
}

.lead-summary {
    font-weight: 700;
    color: #333
}

.lead-details {
    font-size: 12px;
    color: #555
}

.lead-comments,
.lead-date {
    font-size: 12px;
    color: #888
}

.lead-quote {
    font-size: 25px;
    font-weight: 700;
    color: #222;
    margin-top: 10px
}

.lead-count,
.lead-total-quote {
    color: #777;
    font-size: 13px;
    font-family: 'Cereal book'
}

.lead-total-quote {
    float: right;
    margin: 2px 25px 0 0;
}

.lead-count {
    margin-left: 5px
}

.spinner {
    background-color: rgba(0, 0, 0, .1);
    height: 100vh;
    width: 100vw;
    z-index: 9999999999999;
    display: none
}

.quote-container,
input#quoteInput,
input,
textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px
}

.spinner-content {
    background-color: transparent;
    border-radius: 20px;
    position: fixed;
    display: flex;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.spinner-content img {
    height: 60px;
    width: 60px
}

.quote-container,
#popup-new form input {
    display: flex;
    align-items: center;
    border-radius: 5px;
    border: 2px solid #222;
    padding: 5px;
    height: 50px
}

input#quoteInput,
input,
textarea {
    border: none;
    height: 35px
}

.hidden {
    display: none
}

textarea {
    height: 100px;
    padding: 10px;
    font-family: 'Cereal book';
    border: 2px solid #222;
    border-radius: 5px;
    margin-top: 5px
}

.currency-symbol {
    font-size: 16px;
    margin-right: 5px
}

.lead-item.dragging {
    opacity: 0.1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* Suaviza el movimiento de los leads al desplazarse */
.lead-item {
    transition: margin 2s ease, transform 2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Placeholder que empuja a los demás suavemente */
.lead-placeholder {
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    border-radius: 10px;
    background-color: #E8E8E8;
    border: 0px;
    margin: 0;
    /* Igual que los .lead-item */
    transition: all 2s ease;
}

.menu-item-hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 1s ease, visibility 0.5s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.menu-left:hover .menu-item-hidden {
    opacity: 1;
    visibility: visible;
    height: auto;

}


.menu-left {
    width: 90px;
    transition: width 0.3s ease;
    background-color: #ffffff;
    color: #222222;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
    /* asegúrate de que sea el contexto de anclaje si usas `absolute` */
}

.menu-left:hover {
    width: 290px;
}

.add-contact {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.menu-left .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    white-space: nowrap;
}

.menu-left .menu-item i {
    margin-right: 10px;
}

.menu-left .menu-label {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.menu-left:hover .menu-label {
    opacity: 1;
}



.user-menu {
    position: relative;
    z-index: 1000;
}



.user-popup {
    position: absolute;
    font-size: 14px;
    border: 1px solid #eee;
    top: 60px;
    left: 0%;
    background: white;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: none;
    width: 290px;
    z-index: 2000;
    top: 110%;
}

.user-menu.open .user-popup {
    display: block;
}

.accordion-content {
    overflow: hidden
}


.accordion-header {
    font-family: 'Cereal medium';
    display: flex
}

.accordion-item {
    border-bottom: 1px solid #e1e1e1;
    padding: 30px 0
}

.accordion-item:last-child {
    border-bottom: none
}

.accordion-content p {
    color: #5F6367;
    font-size: 18px;
    text-align: left;
    font-family: 'Cereal book';
    margin-bottom: 50px;
    margin-top: 30px;
    font-weight: lighter;
    line-height: 1.5em;
}

.accordion-header {
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    justify-content: space-between;
    align-items: center;
    font-size: 20px
}

.accordion-header .arrow::before {
    content: '\25B6';
    display: inline-block;
    margin-right: 10px;
    transition: transform .3s
}

.accordion-header.active .arrow::before {
    transform: rotate(90deg)
}

.accordion-content {
    max-height: 0;
    transition: max-height .2s ease-in-out
}

.accordion-header.active+.accordion-content {
    max-height: 1000px
}

.accordion-header.active .arrow {
    transform: translateY(-50%) rotate(180deg)
}





@media (max-width:768px) {
    .left-side {
        width: 100%
    }

    #whatsapp-chat {
        display: none;
    }

    .right-side {
        display: none
    }

    .language-trigger {
        display: none;
    }

    a.login {
        display: none;
    }

    .button,
    input[type=submit] {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 30px;
    }
}