body{
	background: linear-gradient(360deg, #99cac0, #00a0d6, #7d53c1);
	min-height: 100vh;
	position: relative;
    background-attachment: fixed;
}
body:before{
	content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    transition: 0.5s ease all;
    background-image: url(../adm/toldo.png);
    background-repeat: no-repeat;
    background-position: center top;
}

/*popuplogin*/
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    width: 85%;
    max-width: 320px;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: fadeInUp .35s ease;
}

.popup-box p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.popup-box button {
    padding: 10px 20px;
    border: none;
    background: var(--color2);
    color: var(--bg-claro);
    border-radius: 8px;
    cursor: pointer;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*login*/
.mid_center{
	width: 100vw;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
width: 100%;
margin: auto;
max-width: 380px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 40px 30px;
border-radius: 20px;
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
text-align: center;
animation: fadeIn 1s ease-out;
}
.container figure{border-radius: 50%; display: flex; padding: 5px; background: var(--bg-claro); border: 4px solid var(--color1); width: 150px; height: 150px; margin:auto; margin-bottom: 25px; justify-content: center;}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}


.logo {
width: 100%;
object-fit: contain;
}


input {
width: 100%;
padding: 12px 15px;
margin: 10px 0;
border-radius: 10px;
border: none;
outline: none;
font-size: 15px;
}


button {
width: 100%;
padding: 12px;
background: var(--color2);
border: none;
border-radius: 10px;
color: var(--title-bg-oscuro);
font-size: 16px;
font-weight: bold;
cursor: pointer;
margin-top: 10px;
transition: 0.3s;

}


button:hover {
background: var(--resalto);
}


@media(max-width: 480px) {
.container {
max-width: 85%;
padding: 30px 20px;
}


.logo {
width: 100px;
}
}

/*main-menu*/
.menu_adm{width: 100%; display: flex; flex-wrap: wrap; justify-content: center; max-width: 700px; margin: auto}
.logo_circle{    
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--color1);
    padding: 10px;
    background: #fff;
    display: flex;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 40px;
    animation: grow 1.5s ease;
    box-shadow: 0 7px 7px 7px rgba(0, 0, 0, 0.4);
}
.menu-cont{ width: 90%; display: flex; flex-wrap: wrap; gap: 20px; margin: auto; max-width: 1400px}
.app-icon{ width: 100px; text-align: center; background: #fff; border-radius: 10px; padding: 10px;}
.app-icon figure{ display: flex; flex-wrap: wrap; justify-content: center;}
.app-icon a{ text-decoration:none; }
.app-icon p{ margin: 0; font-size: 14px; color: var(--color2); font-weight: bold;}
.app-icon img{ width: 100%; max-width: 50px; height: auto}

.myicon{    
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color1), var(--color2));
}
.icon-reseller {
    -webkit-mask: url("../adm/z_reseller.svg") no-repeat center;
    mask: url("../adm/z_reseller.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.icon-store {
    -webkit-mask: url("../adm/z_store.svg") no-repeat center;
    mask: url("../adm/z_store.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.icon-logout {
    -webkit-mask: url("../adm/z_logout.svg") no-repeat center;
    mask: url("../adm/z_logout.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
/*reseller*/
.contenido{display: flex; flex-wrap: wrap; justify-content: center; max-width: 1400px; width: 100%; margin-top: 0; margin: auto}
.tab1{margin-bottom: 100px; position: relative;}
.adm_add{position: fixed; bottom: 20px; right:20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; z-index: 10}
table{background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 40px 30px;
border-radius: 20px;
box-shadow: 0 8px 20px rgba(0,0,0,0.3); overflow: hidden;}

.tab1{ background: transparent;}
table thead tr{ background:#0009 !important }
table a{text-decoration: none; color:#000 }
table tr{ background:#fff5 }
table tr:nth-child(even){ background:#fff9 }
.resell-link{ background: var(--bg-oscuro); color:var(--bg-claro); padding: 5px 10px; border-radius:5px }
.r_link{width: 16px; margin: 0}
.empresa{background: none}
.empresa ul > li:nth-child(odd), .empresa li{ background:#0009; padding:15px 0; color:#fff; border-radius:20px; margin-bottom:20px }
.empresa ul > li:nth-child(even){ background:#fff9; padding:15px 0; color:#fff; border-radius:20px; margin-bottom:20px }
.rotatey{transform: rotateY(180deg);}

.icon-reseller_w {
    width: 40px;
    height: 40px;
    margin: 0;
    background: #fff !important;
    -webkit-mask: url("../adm/z_reseller.svg") no-repeat center;
    mask: url("../adm/z_reseller.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.icon-vendedor_w {
    width: 40px;
    height: 40px;
    margin: 0;
    background: #fff !important;
    -webkit-mask: url("../adm/z_vendedor.svg") no-repeat center;
    mask: url("../adm/z_vendedor.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.sizeh40{height: 40px; width: 40px}
.submit {padding: 15px; border-radius: 50%; margin-top: 0}
@media(max-width: 760px) {
.adm_td{ padding-top:18px; padding-bottom:0 }
.tab1 tr:nth-child(even), .tab2 tr:nth-child(even){background: linear-gradient(90deg,#0009 45%, #fff9 45%);}
.tab1 tr:nth-child(odd), .tab2 tr:nth-child(odd){background: linear-gradient(90deg,#0009 45%, #fff5 45%);}
.icon-vendedor_w { width: 25px; height: 25px;}
.icon-reseller_w { width: 25px; height: 25px;}
.sizeh40{height: 25px; width: 25px}
}
/*edit reseller y vendedor*/
.container .form{background: none;}
.form-campo{width: 100%; background: #fff; border-radius: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-bottom: 10px}
.form-campo .fa{ border:none; margin:0 }
.form-campo .formulario{ border:none; margin:0 }
.form .title-editresell{ margin-bottom:20px }
.menu-editresell{width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 10px}
.menu-editresell .submit{width: auto; padding: 10px 20px; margin: 0; border-radius: 10px;}
.menu-editresell .submit{background: var(--color2);}
.menu-editresell a.submit{background: var(--btn-error);}

/*empresax*/
.contenido-empresax{display: flex; flex-wrap: wrap; justify-content: center;}
.contenido-empresax .empresa{max-width: 1500px}
.contenido-empresax ul{padding: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px}
.contenido-empresax .empresa article{max-width: none; margin: 0}
.contenido-empresax .empresa li {position: relative; max-width: 450px}
.contenido-empresax .logohedadm{justify-content: space-between; !important;}
.contenido-empresax .empresa article p, .contenido-empresax .empresa article label{text-align: center; color: #000}
.empresa ul > li:nth-child(odd), .empresa li{ padding:0 }
.contenido-empresax .empresa ul > li:nth-child(odd) p, .contenido-empresax .empresa ul > li:nth-child(odd) h2{color: #fff !important} 
.contenido-empresax .empresa ul > li:nth-child(odd) label{ color:#fff; min-width:35px }
.contenido-empresax .empresa ul > li:nth-child(odd) .nombre-empresa{color: #fff}
.contenido-empresax .empresa article.info-principal{margin-top: 10px}


.contenido-empresax .title-empresa{width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between !important; padding: 0; }
.contenido-empresax .info-inline p{color:#000;  width:auto }
.contenido-empresax .nombre-empresa{text-decoration: none; color: #000; font-size: 20px; text-transform: uppercase;}
.cont-title{    border-bottom: 1px solid #fff;    padding-bottom: 10px;    margin-bottom: 10px;}
.contenido-empresax .empresa .info-inline{display: flex; justify-content: space-between; padding: 0; margin-bottom: 5px}

.contenido-empresax .empresa .line-bot{border-bottom: 1px solid #fff; padding-bottom: 10px !important; margin-bottom: 10px !important}


.contenido-empresax .empresa .new-cont{ align-items:center; display:flex; }
.contenido-empresax .empresa .new-cont input{ margin:0; border-radius:5px 0 0 5px }
.contenido-empresax .empresa .new-cont img{ width:29px; height29px; background:#333; margin:0; border-radius:0 5px 5px 0 }

.save-act, .cancel-act{padding: 10px 20px; text-decoration: none; color: #fff; border-radius: 10px; min-width: 140px; text-align: center;}
.save-act { background: var(--btn-ok); }
.cancel-act {background: var(--btn-error); }

.adm-btns{width: 100%; display: flex; gap: 10px; justify-content: center !important; align-items: center;}
/*ajustes finales*/
.hide{display: none !important}
.full{width: 100%}
.mg_b40{margin-bottom: 40px}
.mg_b10{margin-bottom: 10px}