@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ROOT VARAIBLES */
:root {
    --color-primary: #d31818;
    --color-danger: #292929;
    --color-success: #41f1b6;
    --color-warning: #ffbb55;
    --color-white: #fff;
    --color-info-dark: #969696;
    --color-info-light: #dce1eb;
    --color-dark: #363949;
    --color-light: rgba(132, 139, 200, 0.18);
    --color-primary-variant: #111e88;
    --color-dark-variant: #677483;
    --color-background: #f6f6f9;
    --color-suspenso: #e08906;

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;

    --card-padding: 1.8rem;
    --padding-1: 1.2rem;


    --box-shadow: 0 2rem 3rem var(--color-light);
    --box-shadow-form: 0 0rem 0rem var(--color-light);
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    user-select: text;
}

html {
    font-size: 14px;
}

body {
    width: 100vw;
    height: 100vh;
    font-family: poppins, sans-serif;
    font-size: 0.88rem;
    background: var(--color-background);
    user-select: none;
    color: var(--color-dark);
    zoom: 0.8;
}

.container-cp {
    display: grid;
    width: auto;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 14rem auto;

}

.cp-info {
    display: flex;
    justify-content: center;
}

.cp-edit {
    display: flex;
    width: 63rem;
}

.container-edit {
    display: grid;
    width: auto;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 7rem 50rem 40rem;

}

.container-pl {
    display: grid;
    grid-template-columns: 100px 1fr 300px;
    /* Ajusta los valores según necesites */
    height: 100vh;
    gap: 10px;
    /* Espacio entre columnas */

}

.container-ct {
    display: grid;
    grid-template-columns: 200px 1fr 300px;
    /* Ajusta los valores según necesites */
    height: 100vh;
    gap: 10px;
    /* Espacio entre columnas */
}

.container-from {
    display: grid;
    width: auto;
    margin: 0 auto;
    gap: 2.8rem;
    grid-template-columns: 7rem auto 7rem;
}

.main--from {
    align-content: center;
    display: grid;
}

.container-cp-2 {
    display: grid;
    width: auto;
    margin: 0 auto;
    gap: 2.8rem;
    grid-template-columns: 7rem auto 7rem;
}

.cotizador- {
    width: 100rem;
}

.list-cp {
    display: grid;
    width: 135%;
    margin: 25px auto;
    gap: 1.8rem;
    margin-left: -2rem;
}

a {
    color: var(--color-dark);
}

img {
    display: block;
    width: 100%;

}

h1 {
    font-weight: 800;
    font-size: 1.8rem;
}

h2 {
    font-size: 1.0rem;
    color: var(--color-dark);
    font-weight: 900;
}

h3 {
    font-size: 0.87rem;


}

h4 {
    font-size: 0.8rem;
}

h5 {
    font-size: 0.77rem;
}

small {
    font-size: 0.75rem;
}

.profile-photo {
    width: 2.8rem;
    height: 2.8rem;
    overflow: hidden;
}

.text-muted {
    color: var(--color-info-dark);

}

p {
    color: var(--color-dark-variant);

}


.sub-red {
    background: var(--color-primary);
    color: white;
    font-size: 19px;
    padding: 6px 12px 6px 12px;
    border-radius: 5px;
    display: flex;
    margin-bottom: -10px;
    margin-top: -6px;
}

.sub-red-2 {
    background: var(--color-primary);
    color: var(--color-background);
    font-size: 14px;
    padding: 6px 12px 6px 12px;
    border-radius: 5px;
}

.sub-black {
    background: var(--color-danger);
    color: var(--color-background);
    font-size: 16px;
    padding: 6px 12px 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.sub-black::after {
    background: black;
    color: var(--color-background);
    font-size: 16px;
    padding: 6px 12px 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.primary {
    color: var(--color-primary);
}

.danger {
    color: var(--color-danger);
}

.success {
    color: var(--color-success);
}

.warnig {
    color: var(--color-warning);
}

aside {
    
    color: white;
    width: 100%;
    max-width: 130px;
}

aside .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
    border-radius: var(--border-radius-2);
    padding: 1rem;
}

aside .logo {
    display: flex;
    gap: 0.8rem;

}

aside .logo img {
    width: 10rem;
    height: 4rem;

}

aside .close {
    display: none;
}

aside h3 {
    font-weight: 500;
}

/*======== MAIN ==========*/


main .date {
    display: inline-block;
    border-radius: var(--border-radius-1);
    padding: 0.5rem 1.6rem;
}


main .insights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

main .insights- {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

main .insights>div {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;

}

main .insights->div {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
    width: 25rem;
}

main .insights>div:hover {
    box-shadow: none;
}

main .insights>div span {
    background: var(--color-primary);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}


main .insights>div.expenses span {
    background: var(--color-danger);
}

main .insights>div.income span {
    background: var(--color-primary);
}

main .insights>div .middle {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

main .insights h3 {
    margin: 1rem 0 0.6rem;
    font-size: 6rem;
}

main .insights .progress {
    position: relative;
    width: 90px;
    height: 190px;
    border-radius: 49%;
    left: -30px;
}

main .insights svg {
    width: 7rem;
    height: 7rem;
}

main .insights svg circle {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
    stroke-dasharray: 110;
    stroke-dashoffset: 92;

}

main .insights .sales svg circle {
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

main .insights .expenses svg circle {
    stroke-dashoffset: 20;
    stroke-dasharray: 80;
}

main .insights .incomen svg circle {
    stroke-dashoffset: 35;
    stroke-dasharray: 35;
}

main .insights .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2 */
main .insights-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}


main .insights-2>div {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;

}

main .insights-2>div:hover {
    box-shadow: none;
}

main .insights-2>div span {
    background: var(--color-primary);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}

main .insights-2>div.expenses span {
    background: var(--color-danger);
}

main .insights-2>div.income span {
    background: var(--color-primary);
}

main .insights-2>div .middle {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

main .insights-2 h3 {
    margin: 1rem 0 0.6rem;
    font-size: 6rem;
}

main .insights-2 .progress {
    position: relative;
    width: 90px;
    height: 190px;
    border-radius: 49%;
    left: -30px;
}

main .insights-2 svg {
    width: 7rem;
    height: 7rem;
}

main .insights-2 svg circle {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
    stroke-dasharray: 110;
    stroke-dashoffset: 92;

}

main .insights-2 .sales svg circle {
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

main .insights-2 .expenses svg circle {
    stroke-dashoffset: 20;
    stroke-dasharray: 80;
}

main .insights-2 .incomen svg circle {
    stroke-dashoffset: 35;
    stroke-dasharray: 35;
}

main .insights-2 .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* insight-3 */
main .insights-3 {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

main .insights-3>div {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;

}


main .insights-3>div:hover {
    box-shadow: none;
}

main .insights-3>div span {
    background: var(--color-primary);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}

main .insights-3>div.expenses span {
    background: var(--color-danger);
}

main .insights-3>div.income span {
    background: var(--color-primary);
}

main .insights-3>div .middle {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

main .insights-3 h3 {
    margin: 1rem 0 0.6rem;
    font-size: 6rem;
}

main .insights-3 .progress {
    position: relative;
    width: 90px;
    height: 190px;
    border-radius: 49%;
    left: -30px;
}

main .insights-3 svg {
    width: 7rem;
    height: 7rem;
}

main .insights-3 svg circle {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
    stroke-dasharray: 110;
    stroke-dashoffset: 92;

}

main .insights-3 .sales svg circle {
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

main .insights-3 .expenses svg circle {
    stroke-dashoffset: 20;
    stroke-dasharray: 80;
}

main .insights-3 .incomen svg circle {
    stroke-dashoffset: 35;
    stroke-dasharray: 35;
}

main .insights-3 .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* cotizador */

.rootform {
    width: 80%;
}

/*====Lista de Datos ====*/
main .recent-order {
    background-color: #f4f4f4;
    padding: 1rem;
    flex-grow: 1;
}

main .recent-order h2 {
    margin-bottom: 0.8rem;
}

main a {
    text-align: center;
    display: block;
    margin: 1rem auto;
    color: var(--color-primary);
}

/*== Barra Right==*/
.right {
    background-color: #e9e9e9;
    color: black;
    padding: 1rem;
    width: 30rem;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    overflow-y: auto;
}

.right- {
    padding-top: 1.2rem;
    background-color: #e9e9e9;
    color: black;
    padding: 1rem;
    width: 42rem;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    overflow-y: auto;
}
.right-::-webkit-scrollbar {
    display: none;
  }

.right .top {
    padding-left: 10px;

}

.right .top button {
    display: none;
}

.right .theme-toggler {
    background: var(--color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.6rem;
    width: 4.2rem;
    cursor: pointer;
    border-radius: var(--border-radius-1);

}

.right .theme-toggler span {
    font-size: 1.2rem;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .theme-toggler span.active {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--border-radius-1);
}

.right .top .profile {
    display: flex;
    gap: 2rem;
    text-align: right;
}

/*== Actividades recientes ==*/
.right .recent-updates {
    margin: -10px;
}

.right .recent-updates h2 {
    margin-bottom: 0.8rem;
}

.right .recent-updates .updates {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
}

.right .recent-updates .updates:hover {
    box-shadow: none;
}

.right .recent-updates .updates .update {
    display: grid;
    grid-template-columns: 2.6rem auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

/*== Actividades recientes ==*/
.right .sales-analytics {
    margin-top: 2rem;
}

.right .sales-analytics h3 {
    margin-bottom: 0.8rem;
}

.right .sales-analytics .item {
    background: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding: 1.4rem var(--card-padding);
    border-radius: var(--border-radius-3);
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
}

.right .sales-analytics .item:hover {
    box-shadow: none;
}

.right .sales-analytics .item .right {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 0;
    width: 100%;
}

.right .sales-analytics .item .icon {
    padding: 0.6rem;
    color: var(--color-white);
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
}

.right .sales-analytics .item.offline .icon {
    background: var(--color-danger);
}

.right .sales-analytics .item.customers .icon {
    background: var(--color-primary);
}

.right .sales-analytics .add-product {
    background-color: transparent;
    border: 2px dashed var(--color-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .sales-analytics .add-product div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.right .sales-analytics .add-product div h3 {
    font-weight: 500;
    margin-top: 0.6rem;
}

.td_accion {
    border: none;
}