div#header div#headertop {
    width: 100%;
    height: 137px;
    border-bottom: 1px solid #808080;
}

div#header div#headertop div#logoycesta {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

div#header div#headertop div#logoycesta div.logo {
    margin-top: 15px;
}

div#header div#headertop div#logoycesta div.logo a {
    width: 314px;
    height: 105px;
    background-size: 100% 100%;
    background-position-x: -22px;
    background-repeat: no-repeat;
}

div#header div#headerbottom {
    height: 60px;
    width: 100%;
    background-color: black;
}

div#header div#headerbottom div.menu {
    text-align: center;
}

div.dades_client {
    margin-top: 0;
    top: 10px;
    margin-left: 00px;
    right: 0;
    color: #858585;
}

div.dades_client span.nom_client {
    position: initial;
    margin-right: 10px;
    color: inherit;
}

div.dades_client span.mis_datos a {
    color: inherit;
}

div.dades_client span.salir {
    color: inherit;
}

div.dades_client span.salir:before {
    content: "|";
    margin-right: 5px;
}

div.dades_client span.salir a {
    margin-right: 0;
    color: inherit;
}

div#container {
    margin-top: 110px;
    margin-bottom: 40px;
}

div#container-alert {
    margin-top: 135px;
    margin-bottom: 40px;
}

div.cistella {
    top: 20px;
}

div.bg_cistella {
    width: 404px;
    height: 52px;
    background-color: #3f3f3f;
}

div.boto_cistella {
    left: 233px;
}

div.boto_cistella a {
    display: block;
    width: 163px;
    height: 32px;
    padding: 0;
    text-align: center;
    padding-top: 8px;
    box-sizing: border-box;
}

span.cesta_llena,
span.cesta_vacia {
    left: 13px;
    top: -15px;
    color: #cccccc;
    font-size: 14px;
}

div.contingut_cistella {
    width: 404px;
    top: -1px;
}

div.top_cistella,
div.bottom_cistella {
    width: 100%;
    background-size: 100%;
}

/* Carrito: texto largo (PT: A SUA COMPRA) sin cortarse */
div#left_carrito {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 37px;
    left: -200px;
    width: auto;
    font-weight: bold;
    white-space: nowrap;
    z-index: 5;
    line-height: 1.1;
}

div#left_carrito i {
    flex-shrink: 0;
    margin-right: 0;
}

div#left_carrito div {
    position: static;
    top: auto;
    left: auto;
    white-space: nowrap;
    overflow: visible;
}


/** menu **/

div#headerbottom div.menu {
    font-size: 16px;
    padding-top: 17px;
}

div#headerbottom div.menu a:link,
div.menu a:visited {
    color: #e4e4e4;
}

div#headerbottom div.menu>a:hover {
    color: white;
    padding-bottom: 16px;
    border-bottom: 6px solid #fd3500;
}

div#container div#content h2 {
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
}

div#container div#content h2:before {
    content: "";
    background-color: black;
    position: absolute;
    width: 50px;
    height: 3px;
    bottom: -7px;
}

div#container div#content {
    padding: 0;
}


div#container-alert div#content h2 {
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
}

div#container-alert div#content h2:before {
    content: "";
    background-color: black;
    position: absolute;
    width: 50px;
    height: 3px;
    bottom: -7px;
}

div#container-alert div#content {
    padding: 0;
}

h3.cataleg_model {
    font-size: 1.5em;
    color: #fd3500;
    margin-bottom: 30px;
}

#usuario a{
    font-size: inherit;
    width: auto;
    height: auto;
    background-image: none;
    margin-top: 13px;
    color: #7d7d7d;
}
/** vista catalogo **/

div#infodespieces {
    margin-top: 40px;
}

div#infodespiecesleft {
    width: 257px;
    height: 712px;
    background-color: #fff;
    overflow-y: auto;
    float: left;
    padding: 20px 10px 10px 20px;
    font-size: 16px;
    margin-bottom: 30px;
}

div#infodespiecesleft ul {
    margin: 0;
    padding: 0;
}

div#infodespiecesleft ul span a {
    margin-left: 3px;
}

div#infodespiecesright {
    width: 710px;
    background-color: #efefef;
    height: 712px;
    overflow-y: auto;
    float: left;
}

div#accesoriosrelacionados div.accessory_block {
    height: 295px;
}

div#infodespiecesright div.despiece_block img,
div#accesoriosrelacionados div.accessory_block img {
    border: 1px solid white;
}

div#infodespiecesright div.despiece_block {
    width: 216px;
    margin-right: 0;
    margin-left: 15px;
    text-align: center;
    padding-bottom: 10px;
}

div#accesoriosrelacionados div.accessory_block {
    width: 230px;
    text-align: center;
    margin-right: 20px;
    padding-bottom: 10px;
}


/*div.wraper_imatge_llistat_despieces, */

div.wraper_imatge_llistat_accessory {
    width: 230px;
}

div#infodespiecesright div.despiece_block a.title,
div#accesoriosrelacionados div.accessory_block a.title {
    font-weight: bolder;
    font-size: 15px;
}

div#accesoriosrelacionados div.accessory_block a.title {
    display: block;
    padding: 10px 10px 5px 10px;
}

img.imatge_llistat_despieces {
    max-width: 214px
}

div#imagenyinfoaccesorio {
    width: 100%;
    margin-top: 40px;
}

div#imagenyinfoaccesorio div#imagenaccesorio {
    width: 40%;
    float: left;
}

div#imagenyinfoaccesorio div#imagenaccesorio img.imagen_product {
    width: 100%;
}

div#imagenyinfoaccesorio div#infoaccesorio {
    width: 60%;
    float: left;
}

div#imagenyinfoaccesorio div#infoaccesorio h3.title_product_name {
    color: #fd3500;
    font-weight: normal;
    font-size: 20px;
}

div#imagenyinfoaccesorio div#infoaccesorio div.scroll_detall_producte {
    padding: 30px;
    margin-left: 30px;
    color: #5d5d5d;
    line-height: 17px;
    height: auto;
    max-height: 500px;
}

div#imagenyinfoaccesorio div#infoaccesorio div.scroll_detall_producte div.product_price {
    color: #757575;
    border: 1px solid #cccccc;
    width: 250px;
    text-align: center;
    margin-top: 40px;
    padding: 10px 0;
    font-size: 17px;
}

div#imagenyinfoaccesorio input.input_unitats_accessori {
    width: 50px;
    height: 40px;
    font-size: 18px;
    padding-left: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .15)
}

div#imagenyinfoaccesorio span.addtocart-button {
    top: -4px;
    margin-left: 3px;
}

div#imagenyinfoaccesorio span.addtocart-button a {
    width: 180px;
    display: inline-block;
    height: 39px;
    background-color: #fd3500;
    color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    padding-top: 10px;
    box-sizing: border-box;
}

body>div#footer {
    width: 100%;
    background-color: white;
    text-align: center;
}

body>div#footer div.marcas {
    width: 100%;
    float: none;
    display: block;
    margin-top: -20px;
    position: relative;
}

body>div#footer div.marcas a.sym {
    margin: 0;
    display: inline-block;
    float: none;
}

body>div#footer div.marcas div {
    display: inline-block;
    text-align: left;
    margin-top: -10px;
    color: #bababa;
    position: absolute;
    margin-top: 12px;
    margin-left: 12px;
}

div#container div#content div.symOrders.createoraddbudget h2.presupuestos {
    margin-bottom: 40px;
}

div#container-alert div#content div.symOrders.createoraddbudget h2.presupuestos {
    margin-bottom: 40px;
}

div.symOrders.createoraddbudget div.input.select label[for="OrderAgentId"] {
    color: #9c9c9c;
    display: inline-block;
}

div.symOrders.createoraddbudget div.input.select select#OrderAgentId {
    margin-left: 20px;
    vertical-align: inherit;
}

div.symOrders.createoraddbudget .filtrar_agent {
    margin-top: -40px;
    margin-left: 378px;
    background-color: #fd3500;
}

div.symOrders.createoraddbudget div.filtrar_agent div.submit {
    border: 0;
    width: 1px;
    height: 0px;
    background-color: transparent;
}

div.symOrders.createoraddbudget div.boton_crear {
    margin: 0;
    float: right;
    margin-top: -28px;
    background-color: #fd3500;
}

div.symOrders.createoraddbudget div.boton_crear a {
    padding: 10px 20px;
}

div.symOrders.createoraddbudget .rtats_agents {
    float: none;
    color: #aaaaaa;
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 30px;
    font-family: "Courier";
}

table.llistat_agents#usuario,
table.llistat_agents#admin,
table.llistat_agents {
    width: 100%;
    font-family: "Courier";
    padding: 0;
    color: #7d7d7d;
    margin-bottom: 40px;
}

table.llistat_agents tr th {
    border-bottom: 1px solid #d6d6d6;
    padding: 10px;
}

table.llistat_agents tr td {
    padding-left: 10px;
}

table.llistat_agents div.pendiente,
table.llistat_agents div.confirmado {
    font-size: inherit;
    display: inline-block;
}

table.llistat_agents div.pendiente span,
table.llistat_agents div.confirmado span {
    position: inherit;
    top: 0;
}

table.llistat_agents div.un_tick,
table.llistat_agents div.tick {
    display: inline-block;
    margin: 0;
    position: relative;
    top: 3px;
    left: 5px;
    width: 19px;
    height: 17px;
    background-size: 19px 17px;
}

table.llistat_agents th.estado {
    width: 100px;
}


/** lupa **/

table.llistat_agents td.actions_4 a,
table.llistat_agents td.actions_add_cart_to_budget a {
    font-size: inherit;
    width: auto;
    height: auto;
    background-image: none;
    margin-top: 13px;
    color: #7d7d7d;
}

div.paging,
div.paging#agents {
    position: inherit;
    margin: 0;
    text-align: center;
}

div.paging span a {
    color: #a5a5a5;
}

div.paging span,
div.paging#agents span,
.paging .current,
.paging .disabled,
.paging a {
    background-color: transparent;
    border: 0;
}

div.paging span.prev,
div.paging span.next {
    border: 1px solid #555555 !important;
    font-weight: bolder;
}


/** filtros admin (documentos, pedidos, devoluciones, catálogos) **/

form#pending-orders-filter,
form#orders-filter,
form#bordoyreturns-filter,
form#admincatalogs-filter,
form#kit-resumen-filter,
form#QuestionAdminParqueModeloForm,
div.Documents form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
}

form#pending-orders-filter > div,
form#orders-filter > div,
form#bordoyreturns-filter > div,
form#admincatalogs-filter > div,
form#kit-resumen-filter > div,
form#QuestionAdminParqueModeloForm > div,
div.Documents form > div {
    display: block;
    margin: 0;
}

form#pending-orders-filter > div,
form#orders-filter > div,
form#bordoyreturns-filter > div,
form#admincatalogs-filter > div,
form#kit-resumen-filter > div,
form#QuestionAdminParqueModeloForm > div {
    margin-bottom: 0;
}

div.Documents form div input[type="text"],
form#pending-orders-filter div input[type="text"],
form#orders-filter div input[type="text"],
form#bordoyreturns-filter div input[type="text"],
form#admincatalogs-filter div input[type="text"],
form#kit-resumen-filter div input[type="text"],
form#QuestionAdminParqueModeloForm div input[type="text"]
{
    height: 38px;
    background: #d3d3d3;
    border: 0;
    border-radius: 10px;
    font-size: 120%;
    color: #6a6f75;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

div.Documents form div select,
form#pending-orders-filter div select,
form#orders-filter div select,
form#bordoyreturns-filter div select,
form#admincatalogs-filter div select,
form#kit-resumen-filter div select,
form#QuestionAdminParqueModeloForm div select {
    margin-top: 0;
    margin-right: 0;
    height: 38px;
    line-height: 38px;
    padding: 0 38px 0 10px;
    box-sizing: border-box;
    background-color: #d3d3d3;
    background-image: url('../img/plantilla/arrow.gif');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 28px auto;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form#pending-orders-filter div.input.date,
form#orders-filter div.input.date,
form#bordoyreturns-filter div.input.date,
form#admincatalogs-filter div.input.date,
form#kit-resumen-filter div.input.date,
form#QuestionAdminParqueModeloForm div.input.date,
div.Documents form div.input.date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

form#kit-resumen-filter div.input.date label,
form#QuestionAdminParqueModeloForm div.input.date label {
    display: block;
    width: 100%;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    line-height: 1.2;
}

form#pending-orders-filter div.input.date select,
form#orders-filter div.input.date select,
form#bordoyreturns-filter div.input.date select,
form#admincatalogs-filter div.input.date select,
form#kit-resumen-filter div.input.date select,
form#QuestionAdminParqueModeloForm div.input.date select,
div.Documents form div.input.date select {
    margin-right: 0;
    margin-top: 0;
    min-width: 72px;
}

form#pending-orders-filter div.input.date select:nth-of-type(2),
form#orders-filter div.input.date select:nth-of-type(2),
form#bordoyreturns-filter div.input.date select:nth-of-type(2),
form#admincatalogs-filter div.input.date select:nth-of-type(2),
form#kit-resumen-filter div.input.date select:nth-of-type(2),
form#QuestionAdminParqueModeloForm div.input.date select:nth-of-type(2),
div.Documents form div.input.date select:nth-of-type(2) {
    min-width: 120px;
}

form#bordoyreturns-filter .chosen-container,
form#pending-orders-filter .chosen-container,
form#orders-filter .chosen-container,
form#admincatalogs-filter .chosen-container,
form#kit-resumen-filter .chosen-container,
form#QuestionAdminParqueModeloForm .chosen-container {
    margin-top: 0;
    height: 38px;
    width: 200px !important;
    max-width: 200px;
}

form#bordoyreturns-filter .chosen-container .chosen-single,
form#pending-orders-filter .chosen-container .chosen-single,
form#orders-filter .chosen-container .chosen-single,
form#admincatalogs-filter .chosen-container .chosen-single,
form#kit-resumen-filter .chosen-container .chosen-single,
form#QuestionAdminParqueModeloForm .chosen-container .chosen-single {
    height: 38px !important;
    line-height: 36px !important;
    padding: 0 38px 0 10px !important;
    box-sizing: border-box !important;
    background-color: #d3d3d3 !important;
    background-image: url('../img/plantilla/arrow.gif') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: 28px auto !important;
    border: 1px solid #d3d3d3 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #6a6f75 !important;
    font-size: 120% !important;
    overflow: hidden !important;
}

form#bordoyreturns-filter .chosen-container .chosen-single span,
form#pending-orders-filter .chosen-container .chosen-single span,
form#orders-filter .chosen-container .chosen-single span,
form#admincatalogs-filter .chosen-container .chosen-single span,
form#kit-resumen-filter .chosen-container .chosen-single span,
form#QuestionAdminParqueModeloForm .chosen-container .chosen-single span {
    margin-right: 0 !important;
    line-height: 36px !important;
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    color: #6a6f75 !important;
    font-size: 100% !important;
}

form#bordoyreturns-filter .chosen-container .chosen-single div,
form#pending-orders-filter .chosen-container .chosen-single div,
form#orders-filter .chosen-container .chosen-single div,
form#admincatalogs-filter .chosen-container .chosen-single div,
form#kit-resumen-filter .chosen-container .chosen-single div,
form#QuestionAdminParqueModeloForm .chosen-container .chosen-single div {
    display: none !important;
}

form#bordoyreturns-filter .chosen-container .chosen-drop,
form#pending-orders-filter .chosen-container .chosen-drop,
form#orders-filter .chosen-container .chosen-drop,
form#admincatalogs-filter .chosen-container .chosen-drop,
form#kit-resumen-filter .chosen-container .chosen-drop,
form#QuestionAdminParqueModeloForm .chosen-container .chosen-drop {
    width: 320px !important;
    max-width: 90vw;
}

form#bordoyreturns-filter > div.submit,
form#pending-orders-filter > div.submit,
form#orders-filter > div.submit,
form#admincatalogs-filter > div.submit,
form#kit-resumen-filter > div.submit,
form#QuestionAdminParqueModeloForm > div.submit {
    margin: 0;
    padding: 0;
}

form#bordoyreturns-filter > div.submit input[type=submit],
form#pending-orders-filter > div.submit input[type=submit],
form#orders-filter > div.submit input[type=submit],
form#admincatalogs-filter > div.submit input[type=submit],
form#kit-resumen-filter > div.submit input[type=submit],
form#QuestionAdminParqueModeloForm > div.submit input[type=submit],
form#bordoyreturns-filter > button.btn,
form#pending-orders-filter > button.btn,
form#orders-filter > button.btn,
form#admincatalogs-filter > button.btn,
form#kit-resumen-filter > button,
form#QuestionAdminParqueModeloForm > button {
    height: 38px;
    margin: 0;
    padding: 0 16px;
    box-sizing: border-box;
    line-height: 38px;
    border-radius: 10px;
}

form#kit-resumen-filter > button.button_red,
form#QuestionAdminParqueModeloForm > button.button_red {
    height: 38px !important;
    min-width: 96px;
    margin: 0 !important;
    padding: 0 18px !important;
    line-height: 38px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    white-space: nowrap;
    text-shadow: none !important;
    vertical-align: middle;
}

form#kit-resumen-filter {
    margin-bottom: 16px;
}

div.questions.index a#exportar_excel,
div.questions.index a#botonexportarexcel {
    display: inline-block;
    margin: 8px 0 16px;
}

div.questions.index table.llistat_agents.tabla-mejorada td.actions a.button_red {
    display: inline-block;
    float: none;
    margin: 0;
    padding: 8px 14px !important;
    text-decoration: none;
}

.flex.items-start {
    align-items: flex-start;
    gap: 16px;
}

div.bordoyreturns.index .flex.items-start .button_red,
div.symOrders.index .flex.items-start .button_red,
div.Documents.index .flex.items-start .button_red {
    margin-top: 2px;
    flex-shrink: 0;
}


/** listado documentos **/

table#lista_documentos tr td {
    padding: 10px;
}

table#lista_documentos {
    margin-top: 10px;
}


/**fin listado documentos **/


/** formulario generico **/

div.newgenericform.form label {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

div.newgenericform.form select {
    margin-top: 0;
    width: 98%;
    background: none;
    background-color: white;
    height: 32px;
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

div.newgenericform.form input[type=number],
div.newgenericform.form input[type=text] {
    width: 100%;
    height: 32px;
    background: #fff;
    border: 0;
    font-size: 17px;
    color: #464445;
    padding-left: 10px;
}

div.newgenericform.form input[type=number].qtyadevolver {
    width: 60px;
    margin-right: 5px;
}

div.newgenericform.form input[type="submit"] {
    float: right;
    margin-top: 5px;
}

div.newgenericform.form input[disabled="disabled"],
div.newgenericform.form textarea[disabled="disabled"] {
    background-color: grey;
}


/** fin formulario generico **/

.descatalogada {
    color: red;
    font-size: 17px;
    margin-left: 11px;
}


/* listado devoluciones */

div.bordoyreturns.index h2,
div.symCatalogs.index h2 {
    z-index: -2;
}

div.bordoyreturns.index div.boton_crear a,
div.symCatalogs.index div.boton_crear a {
    float: right;
    margin-top: -45px;
}

div.bordoyreturns.index div.boton_crear a {
    margin-bottom: 50px;
}

div.symCatalogs.index div.boton_crear a.disabled {
    background-color: grey;
    cursor: default;
}


/* formulario gestion de devoluciones admin */

div#adminbordoyreturns dl dd, 
div#adminbordoyreturns dl dt {
    background: transparent !important;
}

div.newgenericform.form dt.motivodenegacion,
div.newgenericform.form dt.ampliacionmotivo
{
    padding-top: 10px;
}

div.newgenericform.form dd.motivodenegacion textarea,
div.newgenericform.form dd.ampliacionmotivo textarea{
    width: 98%;
    margin-bottom: 10px;
}


/** admin cambio de imagen producto - color **/

div.model_cambioimagen {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-right: 5px;
    overflow: hidden;
}

div.model_cambioimagen input {
    margin-top: 5px;
}

.flex{
    display: flex;
}

.items-center{
    align-items: center;
}

.text-end{
    text-align: end;
}

.items-start{
    align-items: start;
}

.justify-beteewn{
    justify-content: space-between;
}

.chosen {
    background-color: #d3d3d3 !important;
}

.chosen-container-single .chosen-search input[type=text] {
    margin: 1px 0 !important;
    padding: 4px 20px 4px 5px !important;
    width: 100% !important;
    height: auto !important;
    outline: 0 !important;
    border: 1px solid #aaa !important;
    background: url(chosen-sprite.png) no-repeat 100% -20px !important;
    font-size: 1em !important;
    font-family: sans-serif !important;
    line-height: normal !important;
    border-radius: 0 !important;
}

.chosen-search {
    width: 100%;
}
.button_red{
    margin-top: 3px;
    background: #fd3600 !important;
    color: #fff !important;
    border: 0 !important;
    text-shadow: rgba(0,0,0,.5) 0 -1px 0 !important;
    padding: 10px 10px !important;
    border-radius: 5px !important; /* Rounded corners */

}

.tr_questions{
    height: 38px;
}

.mt-2{
    margin-top: 2rem;
}

.mt-1{
    margin-top: 1rem;
}

.mb-1{
    margin-bottom: 1rem;
}


.mr-1{
    margin-right: 1rem;
}

.ml-1{
    margin-left: 1rem;
}

.bold{
    font-weight: bold;
}

.alert{
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
}
#header .alert{
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.alert-primary{
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-danger{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.size-20{
    font-size: 20px;
}

/** Estilos para SymSections - igual que SymCustomers **/

/* Estilos para labels de SymSections - mostrar en edit.ctp */
div.symSections.form fieldset.crear_agente label[for=SymSectionName],
div.symSections.form fieldset.crear_agente label[for=SymSectionValue],
div.symSections.form fieldset.crear_agente label[for=SymSectionBonus] {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    margin-top: 10px;
}

/* Estilos para inputs de SymSections dentro de crear_agente */
fieldset.crear_agente input#SymSectionName,
fieldset.crear_agente input#SymSectionValue,
fieldset.crear_agente input#SymSectionBonus {
    width: 422px;
    height: 45px;
    background: #fff;
    border: 0;
    position: relative;
    left: 0;
    top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 15px;
    font-size: 17px;
    color: #464445;
    margin-bottom: 6px;
}

/* Asegurar que los estilos de crear_new_agente y listado_usuarios se apliquen también a SymSections */
div.symSections.form div.crear_new_agente {
    float: right;
    margin-top: 25px;
    margin-right: 125px;
}

div.symSections.form div.listado_usuarios a:link,
div.symSections.form div.listado_usuarios a:visited {
    font-weight: 400;
    padding: 10px 12px;
    background: #dcdcdc;
    color: #333;
    border: 1px solid #bbb;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    text-decoration: none;
    min-width: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    top: 55px;
    left: 580px;
}

div.symSections.form div.listado_usuarios a:hover {
    background: #ecebeb;
    cursor: pointer;
}

/* Estilos para el botón submit dentro de crear_new_agente */
div.symSections.form div.crear_new_agente div.submit input[type=submit] {
    background: #fd3600;
    color: #fff;
    border: 0;
    text-shadow: rgba(0, 0, 0, .5) 0 -1px 0;
    padding: 10px 20px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 110%;
}

div.symSections.form div.crear_new_agente div.submit input[type=submit]:hover {
    background: #dd2b02;
    cursor: pointer;
}

.gestiones-dropdown {
    position: relative;
    display: inline-block;
}

.gestiones-dropdown .menu-dropdown-toggle {
    cursor: pointer;
}

.gestiones-dropdown .dropdown-arrow {
    font-size: 0.8em;
    margin-left: 3px;
}

.gestiones-dropdown .menu-dropdown-content {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.gestiones-dropdown .menu-dropdown-content.show {
    display: block;
	background-color: #000000;
	color: #ffffff;
	text-decoration: none;
	padding: 10px 15px;
	text-align: left;
	width: 170px;
}

.gestiones-dropdown .dropdown-item {
    display: block;
}

.dropdown-item:hover {
    text-decoration: none;
    border-bottom: 5px solid #fd3600;
}
/* T358 — filtros catálogo (referencia + descripción), anula solapes de cake.generic */
div.Catalogs.view table.cerca_model form.catalog-piece-filters {
    display: block;
    width: 100%;
    max-width: 980px;
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters .catalog-filter-row {
    margin-bottom: 12px;
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters .catalog-filter-row label {
    display: block;
    margin: 0 0 6px;
    font-weight: normal;
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters .catalog-filter-row label {
    font-size: 18px;
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters #PieceRef,
div.Catalogs.view table.cerca_model form.catalog-piece-filters #PieceDesc {
    position: static !important;
    top: auto !important;
    max-width: 720px;
    width: 100%;
    height: 45px;
    box-sizing: border-box;
    padding: 8px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters #PieceRef:focus,
div.Catalogs.view table.cerca_model form.catalog-piece-filters #PieceDesc:focus {
    outline: none;
    border-color: #fd3500;
    box-shadow: 0 0 0 2px rgba(253, 53, 0, 0.15);
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters .catalog-filter-actions {
    margin-top: 14px;
    clear: both;
}
div.Catalogs.view table.cerca_model form.catalog-piece-filters div.boto_filtrar {
    position: static !important;
    left: auto !important;
    top: auto !important;
    float: none;
    margin-top: 0;
}

/* Estado de envío pedidos (T361) + enlace devoluciones si entregado */
.envio-sin-indicar span {
    color: #888;
}
.envio-recibido span {
    color: #1a5276;
    font-weight: 600;
}
.envio-enviado span {
    color: #ca6f1e;
    font-weight: 600;
}
.envio-entregado span {
    color: #1e8449;
    font-weight: 600;
}
.envio-entregado .envio-iniciar-devolucion {
    margin-left: 6px;
    font-weight: 600;
    white-space: nowrap;
}

table#admin th.col-estado-envio,
table#admin td.col-estado-envio,
.llistat_agents th.col-estado-envio,
.llistat_agents td.col-estado-envio {
    min-width: 110px;
    text-align: center;
    vertical-align: middle;
}

.presu-estado-envio {
    margin: 10px 0 16px 0;
    clear: both;
}

.symOrders.view dl.dd-shipping-status .admin-shipping-form {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
    max-width: 320px;
}
.symOrders.view .shipping-form-heading {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.symOrders.view .admin-shipping-form .input.select {
    margin-bottom: 12px;
}
.symOrders.view .admin-shipping-form select {
    display: block;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    margin: 0;
}
.symOrders.view .admin-shipping-form input.btn-shipping-guardar[type="submit"] {
    display: inline-block;
    margin-top: 0;
}

/*
 * Catálogo SymCatalogs/search: fila referencia | o | nombre | Buscar (piezas y bastidor/matrícula).
 * Columnas «o» y botón con width:1% para que no roben espacio a los inputs; «o» sin negrita (como span#o_separator en generic).
 */
form#CatalogSearchForm table.catalog-search-row {
    width: 100%;
    border-collapse: collapse;
}
form#CatalogSearchForm table.catalog-search-row td:nth-child(1),
form#CatalogSearchForm table.catalog-search-row td:nth-child(3) {
    vertical-align: middle;
}
form#CatalogSearchForm table.catalog-search-row td:nth-child(2) {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    padding: 0 10px;
}
form#CatalogSearchForm table.catalog-search-row td:nth-child(4) {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
    padding-left: 8px;
}
form#CatalogSearchForm table.catalog-search-row td:nth-child(4) .submit {
    display: inline-block;
    vertical-align: middle;
}
form#CatalogSearchForm table.catalog-search-row span#o_separator,
form#CatalogSearchForm table.catalog-search-row span#o_separator_bastidor_matricula {
    position: relative;
    top: 9px;
    font-weight: normal;
}
form#CatalogSearchForm table.catalog-search-row div#buscar_por_accesorio input[type="submit"],
form#CatalogSearchForm table.catalog-search-row div#buscar_por_bastidor_matricula input[type="submit"] {
    position: relative;
    top: 10px;
    left: 0;
}
/*
 * Bastidor: cake.generic fuerza 770px en #CatalogBastidor; #CatalogMatricula no está en el grupo del catálogo.
 */
form#CatalogSearchForm table.catalog-bastidor-matricula-row input#CatalogBastidor {
    width: 350px !important;
    max-width: 100%;
    margin-right: 10px;
}
form#CatalogSearchForm table.catalog-bastidor-matricula-row input#CatalogMatricula {
    height: 45px;
    background: #efefef;
    border: 0;
    left: 0;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    top: 10px;
    width: 380px;
    max-width: 100%;
    margin-left: 10px;
    box-sizing: border-box;
}
/* Tabla admin pedidos — legibilidad */
div.symOrders.index table.llistat_agents#admin {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: verdana, helvetica, arial, sans-serif;
}

div.symOrders.index table.llistat_agents#admin thead th {
    background: #2b2b2b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #fd3600;
    white-space: nowrap;
    vertical-align: middle;
}

div.symOrders.index table.llistat_agents#admin thead th a,
div.symOrders.index table.llistat_agents#admin thead th a:link,
div.symOrders.index table.llistat_agents#admin thead th a:visited {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

div.symOrders.index table.llistat_agents#admin thead th a:hover {
    color: #fd3600;
}

div.symOrders.index table.llistat_agents#admin tbody td {
    padding: 11px 14px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    line-height: 1.35;
}

div.symOrders.index table.llistat_agents#admin tbody tr:nth-child(even) td {
    background: #f7f7f7;
}

div.symOrders.index table.llistat_agents#admin tbody tr:hover td {
    background: #fff3ef;
}

div.symOrders.index table.llistat_agents#admin .col-pedido {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

div.symOrders.index table.llistat_agents#admin .col-pedido-cliente {
    white-space: nowrap;
    color: #555;
}

div.symOrders.index table.llistat_agents#admin .col-nombre {
    font-weight: 600;
    max-width: 220px;
}

div.symOrders.index table.llistat_agents#admin .col-fecha {
    white-space: nowrap;
    color: #555;
    font-size: 12px;
}

div.symOrders.index table.llistat_agents#admin .col-importe {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

div.symOrders.index table.llistat_agents#admin td.actions {
    text-align: center;
    width: 48px;
    padding: 8px;
}

div.symOrders.index table.llistat_agents#admin a.btn-ver-pedido {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: #fd3600;
    color: #fff !important;
    text-decoration: none;
}

div.symOrders.index table.llistat_agents#admin a.btn-ver-pedido:hover {
    background: #dd2b02;
}

div.symOrders.index table.llistat_agents#admin .badge-tipo {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

div.symOrders.index table.llistat_agents#admin .badge-tipo--conces {
    background: #e8f1fb;
    color: #1a5276;
}

div.symOrders.index table.llistat_agents#admin .badge-tipo--normal {
    background: #f0f0f0;
    color: #555;
}

div.symOrders.index table.llistat_agents#admin .badge-tipo--agent {
    background: #f5eef8;
    color: #6c3483;
}

div.symOrders.index table.llistat_agents#admin .badge-tipo--presupuesto {
    background: #fff4e5;
    color: #b35c00;
}

div.symOrders.index table.llistat_agents#admin .badge-tipo--pedido {
    background: #e8f8ef;
    color: #1e8449;
}

/* Filtro usuarios — select + botón alineados */
form.usuarios-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 18px;
}

form.usuarios-filter > div.input {
    margin: 0;
}

form.usuarios-filter label {
    display: block !important;
    margin-bottom: 6px;
    font-size: 14px;
}

form.usuarios-filter select#CustomerParentId {
    margin-top: 0;
    height: 42px;
    width: 320px;
    max-width: 100%;
    padding: 0 38px 0 10px;
    box-sizing: border-box;
    background-color: #d3d3d3;
    background-image: url('../img/plantilla/arrow.gif');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 28px auto;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form.usuarios-filter .filtrar_agent {
    position: static;
    margin: 0;
}

form.usuarios-filter .filtrar_agent .submit input[type=submit] {
    height: 42px;
    margin: 0;
    padding: 0 18px;
    box-sizing: border-box;
    line-height: 42px;
    border-radius: 10px;
}

/* Tablas mejoradas (devoluciones, usuarios, pedidos, presupuestos) */
table.llistat_agents.tabla-mejorada,
table#listadopedidos.tabla-mejorada,
div.bordoyreturns.index table.llistat_agents.tabla-mejorada,
div.symCustomers.index table.llistat_agents.tabla-mejorada,
div.symOrders.index table.llistat_agents.tabla-mejorada {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    font-family: verdana, helvetica, arial, sans-serif;
}

table.llistat_agents.tabla-mejorada thead th,
table#listadopedidos.tabla-mejorada thead th,
div.bordoyreturns.index table.llistat_agents.tabla-mejorada thead th,
div.symCustomers.index table.llistat_agents.tabla-mejorada thead th,
div.symOrders.index table.llistat_agents.tabla-mejorada thead th {
    background: #2b2b2b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #fd3600;
    white-space: nowrap;
    vertical-align: middle;
}

table.llistat_agents.tabla-mejorada thead th a,
table.llistat_agents.tabla-mejorada thead th a:link,
table.llistat_agents.tabla-mejorada thead th a:visited {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

table.llistat_agents.tabla-mejorada thead th a:hover {
    color: #fd3600;
}

table.llistat_agents.tabla-mejorada tbody td {
    padding: 11px 14px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    line-height: 1.35;
}

table.llistat_agents.tabla-mejorada tbody tr:nth-child(even) td {
    background: #f7f7f7;
}

table.llistat_agents.tabla-mejorada tbody tr:hover td {
    background: #fff3ef;
}

table.llistat_agents.tabla-mejorada .col-pedido {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

table.llistat_agents.tabla-mejorada .col-nombre {
    font-weight: 600;
}

table.llistat_agents.tabla-mejorada td.actions {
    text-align: center;
    white-space: nowrap;
    padding: 8px;
}

table.llistat_agents.tabla-mejorada a.btn-tabla-accion,
table.llistat_agents.tabla-mejorada a.btn-ver-pedido {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 3px;
    border: 0;
    border-radius: 6px;
    background: #fd3600;
    color: #fff !important;
    text-decoration: none;
    float: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
}

table.llistat_agents.tabla-mejorada a.btn-tabla-accion:hover,
table.llistat_agents.tabla-mejorada a.btn-ver-pedido:hover {
    background: #dd2b02;
}

table.llistat_agents.tabla-mejorada .badge-tipo {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

table.llistat_agents.tabla-mejorada .badge-tipo--conces {
    background: #e8f1fb;
    color: #1a5276;
}

table.llistat_agents.tabla-mejorada .badge-tipo--normal {
    background: #f0f0f0;
    color: #555;
}

table.llistat_agents.tabla-mejorada .badge-tipo--agent {
    background: #f5eef8;
    color: #6c3483;
}

table.llistat_agents.tabla-mejorada .badge-tipo--presupuesto {
    background: #fff4e5;
    color: #b35c00;
}

table.llistat_agents.tabla-mejorada .badge-tipo--pedido {
    background: #e8f8ef;
    color: #1e8449;
}

form#bordoyreturns-filter {
    margin-bottom: 18px;
}

/* Acciones ficha usuario */
div.actions.actions-usuario {
    width: auto;
    float: none;
    margin: 20px 0;
    padding: 0;
}

div.actions.actions-usuario h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #333;
}

div.actions.actions-usuario ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

div.actions.actions-usuario ul li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

div.actions.actions-usuario ul li a.button_red,
div.actions.actions-usuario a.button_red {
    display: inline-block;
    margin: 0;
    background: #fd3600 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 10px 14px !important;
    text-shadow: rgba(0, 0, 0, .5) 0 -1px 0 !important;
    font-weight: normal;
    text-decoration: none;
}

div.actions.actions-usuario ul li a.button_red:hover,
div.actions.actions-usuario a.button_red:hover {
    background: #dd2b02 !important;
    border-color: transparent !important;
}

/* Formulario editar/crear usuario */
div.symCustomers.form fieldset.crear_agente {
    width: 100%;
    max-width: 920px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
}

div.symCustomers.form fieldset.crear_agente legend {
    color: #000;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 16px;
    padding: 0;
}

div.symCustomers.form table.form-usuario-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 24px 0;
}

div.symCustomers.form table.form-usuario-grid td.form-usuario-col {
    width: 50%;
    vertical-align: top;
    padding: 0;
}

div.symCustomers.form fieldset.crear_agente .input {
    margin: 0 0 12px;
    display: block;
}

div.symCustomers.form fieldset.crear_agente input[type="text"],
div.symCustomers.form fieldset.crear_agente input[type="password"],
div.symCustomers.form fieldset.crear_agente input[type="email"],
div.symCustomers.form fieldset.crear_agente input#CustomerName,
div.symCustomers.form fieldset.crear_agente input#CustomerNIF,
div.symCustomers.form fieldset.crear_agente input#CustomerTelephone,
div.symCustomers.form fieldset.crear_agente input#CustomerAddress,
div.symCustomers.form fieldset.crear_agente input#CustomerCity,
div.symCustomers.form fieldset.crear_agente input#CustomerProvince,
div.symCustomers.form fieldset.crear_agente input#CustomerEmail,
div.symCustomers.form fieldset.crear_agente input#CustomerCp,
div.symCustomers.form fieldset.crear_agente input#CustomerPassword,
div.symCustomers.form fieldset.crear_agente input#CustomerPassword2 {
    width: 100% !important;
    max-width: 100%;
    height: 45px !important;
    margin: 0 0 0 !important;
    top: 0 !important;
    left: 0 !important;
    position: static !important;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 8px;
    padding: 0 12px !important;
    font-size: 15px !important;
    color: #464445;
}

div.symCustomers.form fieldset.crear_agente select,
div.symCustomers.form fieldset.crear_agente select#zipcode-id,
div.symCustomers.form fieldset.crear_agente select#CustomerRol,
div.symCustomers.form fieldset.crear_agente select#CustomerParentId {
    width: 100% !important;
    max-width: 100%;
    height: 45px !important;
    margin: 0 !important;
    box-sizing: border-box;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236a6f75' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 36px 0 12px;
    font-size: 15px;
    color: #464445;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

div.symCustomers.form fieldset.crear_agente label[for=CustomerPassword],
div.symCustomers.form fieldset.crear_agente label[for=CustomerChangePass] {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin: 0 0 6px;
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

div.symCustomers.form fieldset.crear_agente .input.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 45px;
}

div.symCustomers.form fieldset.crear_agente input#CustomerChangePass {
    position: static !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

div.symCustomers.form .form-usuario-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 920px;
    margin-top: 20px;
}

div.symCustomers.form .form-usuario-actions .listado_usuarios,
div.symCustomers.form .form-usuario-actions .crear_new_agente {
    float: none;
    margin: 0;
    position: static;
}

div.symCustomers.form .form-usuario-actions .listado_usuarios a.button_red,
div.symCustomers.form .form-usuario-actions .listado_usuarios a.button_red:link,
div.symCustomers.form .form-usuario-actions .listado_usuarios a.button_red:visited {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: inline-block;
    background: #fd3600 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 10px 14px !important;
    text-decoration: none;
    font-weight: normal;
    text-shadow: rgba(0, 0, 0, .5) 0 -1px 0 !important;
}

div.symCustomers.form .form-usuario-actions .listado_usuarios a.button_red:hover {
    background: #dd2b02 !important;
}

div.symCustomers.form .form-usuario-actions .crear_new_agente .submit input[type=submit],
div.symCustomers.form .form-usuario-actions .crear_new_agente .submit input.button_red {
    height: auto;
    margin: 0;
    background: #fd3600 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 10px 18px !important;
    cursor: pointer;
    text-shadow: rgba(0, 0, 0, .5) 0 -1px 0 !important;
}

div.symCustomers.form .form-usuario-actions .crear_new_agente .submit input[type=submit]:hover {
    background: #dd2b02 !important;
}

/* Líneas de pedido/presupuesto */
div.related.related-lineas {
    float: none;
    width: 100%;
    max-width: 1000px;
    height: auto;
    overflow: visible;
    display: block;
    font-size: inherit;
    margin: 20px 0;
}

table#linias_de_presupuesto.tabla-mejorada {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    background: #fff;
    margin: 0 0 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: verdana, helvetica, arial, sans-serif;
}

table#linias_de_presupuesto.tabla-mejorada thead th {
    background: #2b2b2b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #fd3600;
    white-space: nowrap;
    vertical-align: middle;
}

table#linias_de_presupuesto.tabla-mejorada tbody td {
    padding: 11px 14px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    line-height: 1.35;
}

table#linias_de_presupuesto.tabla-mejorada tbody tr:nth-child(even) td {
    background: #f7f7f7;
}

table#linias_de_presupuesto.tabla-mejorada tbody tr:hover td {
    background: #fff3ef;
}

table#linias_de_presupuesto.tabla-mejorada .col-pedido {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    width: 40px;
}

table#linias_de_presupuesto.tabla-mejorada .col-nombre {
    font-weight: 600;
}

table#linias_de_presupuesto.tabla-mejorada .col-importe {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

table#linias_de_presupuesto.tabla-mejorada tfoot td {
    padding: 16px 14px;
    background: #fafafa;
    border-top: 2px solid #ececec;
}

table#linias_de_presupuesto.tabla-mejorada tfoot table.subtotal_pressu {
    margin-left: auto;
}

table#linias_de_presupuesto.tabla-mejorada #importes_presupuesto {
    text-align: right;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

table#linias_de_presupuesto.tabla-mejorada #total_presupuesto {
    font-weight: 700;
    font-size: 16px;
    margin-top: 4px;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    background: #fff;
    margin: 16px 0 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: verdana, helvetica, arial, sans-serif;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada thead th {
    background: #2b2b2b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #fd3600;
    white-space: nowrap;
    vertical-align: middle;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada thead th a,
div.symCatalogs.admin.index table.llistat.tabla-mejorada thead th a:link,
div.symCatalogs.admin.index table.llistat.tabla-mejorada thead th a:visited {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada thead th a:hover {
    color: #fd3600;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada tbody td {
    padding: 11px 14px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    line-height: 1.35;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada tbody tr:nth-child(even) td {
    background: #f7f7f7;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada tbody tr:hover td {
    background: #fff3ef;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada .col-pedido {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada .col-nombre {
    font-weight: 600;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada td.actions {
    text-align: center;
    white-space: nowrap;
    width: 90px;
    padding: 8px;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada a.btn-tabla-accion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: #fd3600;
    color: #fff !important;
    text-decoration: none;
    float: none !important;
    position: static !important;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada a.btn-tabla-accion:hover {
    background: #dd2b02;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada .badge-tipo {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

div.symCatalogs.admin.index table.llistat.tabla-mejorada .badge-tipo--normal {
    background: #f0f0f0;
    color: #555;
}

/* Tablas piezas / accesorios */
table.llistat_accessoris.tabla-mejorada,
#llistataccessoris.tabla-mejorada {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    background: #fff;
    margin: 16px 0 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: verdana, helvetica, arial, sans-serif;
}

table.llistat_accessoris.tabla-mejorada thead th,
#llistataccessoris.tabla-mejorada thead th {
    background: #2b2b2b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #fd3600;
    white-space: nowrap;
    vertical-align: middle;
}

table.llistat_accessoris.tabla-mejorada thead th a,
table.llistat_accessoris.tabla-mejorada thead th a:link,
table.llistat_accessoris.tabla-mejorada thead th a:visited,
#llistataccessoris.tabla-mejorada thead th a,
#llistataccessoris.tabla-mejorada thead th a:link,
#llistataccessoris.tabla-mejorada thead th a:visited {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

table.llistat_accessoris.tabla-mejorada thead th a:hover,
#llistataccessoris.tabla-mejorada thead th a:hover {
    color: #fd3600;
}

table.llistat_accessoris.tabla-mejorada tbody td,
#llistataccessoris.tabla-mejorada tbody td {
    padding: 11px 14px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    line-height: 1.35;
}

table.llistat_accessoris.tabla-mejorada tbody tr:nth-child(even) td,
#llistataccessoris.tabla-mejorada tbody tr:nth-child(even) td {
    background: #f7f7f7;
}

table.llistat_accessoris.tabla-mejorada tbody tr:hover td,
#llistataccessoris.tabla-mejorada tbody tr:hover td {
    background: #fff3ef;
}

table.llistat_accessoris.tabla-mejorada .col-pedido,
#llistataccessoris.tabla-mejorada .col-pedido {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

table.llistat_accessoris.tabla-mejorada .col-nombre,
#llistataccessoris.tabla-mejorada .col-nombre {
    font-weight: 600;
}

table.llistat_accessoris.tabla-mejorada .col-importe,
#llistataccessoris.tabla-mejorada .col-importe {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

table.llistat_accessoris.tabla-mejorada td.actions,
#llistataccessoris.tabla-mejorada td.actions {
    text-align: center;
    white-space: nowrap;
    padding: 8px;
}

table.llistat_accessoris.tabla-mejorada a.btn-tabla-accion,
#llistataccessoris.tabla-mejorada a.btn-tabla-accion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 3px;
    border: 0;
    border-radius: 6px;
    background: #fd3600;
    color: #fff !important;
    text-decoration: none;
    float: none !important;
    position: static !important;
}

table.llistat_accessoris.tabla-mejorada a.btn-tabla-accion:hover,
#llistataccessoris.tabla-mejorada a.btn-tabla-accion:hover {
    background: #dd2b02;
}

table.llistat_accessoris.tabla-mejorada .badge-tipo,
#llistataccessoris.tabla-mejorada .badge-tipo {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

table.llistat_accessoris.tabla-mejorada .badge-tipo--normal,
#llistataccessoris.tabla-mejorada .badge-tipo--normal {
    background: #f0f0f0;
    color: #555;
}

table.llistat_accessoris.tabla-mejorada .badge-tipo--pedido,
#llistataccessoris.tabla-mejorada .badge-tipo--pedido {
    background: #e8f8ef;
    color: #1e8449;
}

/* Formulario editar pieza */
div.piezasform.form.modern-admin-form,
div.modern-admin-form.piezasform {
    max-width: 1000px;
    font-family: verdana, helvetica, arial, sans-serif;
}

div.piezasform.form.modern-admin-form fieldset {
    width: 100%;
    max-width: 1000px;
    margin: 0 0 18px;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

div.piezasform.form.modern-admin-form h2 {
    margin-bottom: 16px;
}

div.piezasform.form.modern-admin-form label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

div.piezasform.form.modern-admin-form .readonly-value {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
}

div.piezasform.form.modern-admin-form input[type="text"],
div.piezasform.form.modern-admin-form input[type="number"],
div.piezasform.form.modern-admin-form input[type="password"],
div.piezasform.form.modern-admin-form textarea,
div.piezasform.form.modern-admin-form select {
    width: 100% !important;
    max-width: 100%;
    height: 42px;
    margin: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    color: #464445;
}

div.piezasform.form.modern-admin-form textarea {
    height: auto;
    min-height: 90px;
    padding: 10px 12px;
}

div.piezasform.form.modern-admin-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

div.piezasform.form.modern-admin-form .box {
    box-sizing: border-box;
}

div.piezasform.form.modern-admin-form .box.width-100 { width: 100%; }
div.piezasform.form.modern-admin-form .box.width-50,
div.piezasform.form.modern-admin-form .row.width-50 { width: 100%; max-width: 520px; }
div.piezasform.form.modern-admin-form .meta-row .box.width-20 {
    width: calc(20% - 12px);
    min-width: 140px;
    flex: 1;
}

div.piezasform.form.modern-admin-form a.download-link {
    display: inline-block;
    margin-top: 8px;
}

div.piezasform.form.modern-admin-form + .submit input[type=submit],
form#PieceAdminEditForm > .submit input[type=submit] {
    background: #fd3600 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 10px 18px !important;
    cursor: pointer;
}

/* Formulario editar accesorio */
div.Accessories.form.modern-admin-form {
    max-width: 1000px;
    font-family: verdana, helvetica, arial, sans-serif;
}

div.Accessories.form.modern-admin-form fieldset {
    width: 100% !important;
    max-width: 1000px;
    margin: 0;
    padding: 20px !important;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ececec !important;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

div.Accessories.form.modern-admin-form fieldset legend {
    float: left;
    width: 100%;
    padding: 0 0 12px !important;
    margin: 0 0 16px !important;
    border: 0;
    border-bottom: 1px solid #ececec;
    color: #111 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    background: transparent;
}

div.Accessories.form.modern-admin-form fieldset::after {
    content: "";
    display: table;
    clear: both;
}

div.Accessories.form.modern-admin-form table.form-usuario-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 24px 0;
    clear: both;
}

div.Accessories.form.modern-admin-form table.form-usuario-grid td.form-usuario-col {
    width: 50%;
    vertical-align: top;
    padding: 0 0 12px;
}

div.Accessories.form.modern-admin-form table.form-usuario-grid td.form-usuario-col[colspan="2"] {
    width: 100%;
}

div.Accessories.form.modern-admin-form .input {
    margin: 0 0 12px;
    display: block;
}

div.Accessories.form.modern-admin-form label,
div.Accessories.form.modern-admin-form label[for=AccessoryCatalogColor],
div.Accessories.form.modern-admin-form label[for=AccessoryDescription],
div.Accessories.form.modern-admin-form label[for=AccessoryOrdering],
div.Accessories.form.modern-admin-form label[for=AccessorySizeOptions],
div.Accessories.form.modern-admin-form label[for=AccessoryState],
div.Accessories.form.modern-admin-form label[for=AccessoryUpload] {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

div.Accessories.form.modern-admin-form input[type="text"],
div.Accessories.form.modern-admin-form input[type="number"],
div.Accessories.form.modern-admin-form input[type="password"],
div.Accessories.form.modern-admin-form select {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    position: static !important;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 8px;
    padding: 0 12px !important;
    font-size: 15px !important;
    color: #464445;
}

div.Accessories.form.modern-admin-form select:not([multiple]),
div.Accessories.form.modern-admin-form select#AccessoryCategoryId,
div.Accessories.form.modern-admin-form select#AccessoryState,
div.Accessories.form.modern-admin-form select#ordering {
    padding: 0 36px 0 12px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236a6f75' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

div.Accessories.form.modern-admin-form select[multiple],
div.Accessories.form.modern-admin-form select#AccessoryCatalogColor {
    height: 220px !important;
    max-width: 100% !important;
    padding: 8px !important;
    background-image: none !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: auto !important;
}

div.Accessories.form.modern-admin-form textarea,
div.Accessories.form.modern-admin-form textarea#AccessorySizeOptions,
div.Accessories.form.modern-admin-form textarea#AccessoryDescription {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 120px !important;
    min-height: 120px !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    position: static !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    color: #464445 !important;
    resize: vertical;
}

div.Accessories.form.modern-admin-form textarea#AccessoryDescription {
    height: 140px !important;
    min-height: 140px !important;
}

div.Accessories.form.modern-admin-form .accessory-thumb {
    margin: 8px 0 12px;
}

div.Accessories.form.modern-admin-form .form-usuario-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1000px;
    margin-top: 18px;
}

div.Accessories.form.modern-admin-form .form-usuario-actions .listado_usuarios,
div.Accessories.form.modern-admin-form .form-usuario-actions .crear_new_agente,
div.Accessories.form.modern-admin-form .form-usuario-actions .link_listado_accesorios,
div.Accessories.form.modern-admin-form .form-usuario-actions .boton_crear {
    float: none !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

div.Accessories.form.modern-admin-form .form-usuario-actions a.button_red,
div.Accessories.form.modern-admin-form .form-usuario-actions a.button_red:link,
div.Accessories.form.modern-admin-form .form-usuario-actions a.button_red:visited,
div.Accessories.form.modern-admin-form .form-usuario-actions input.button_red {
    display: inline-block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    background: #fd3600 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 10px 14px !important;
    text-decoration: none !important;
    cursor: pointer;
}

/* Filtro piezas/accesorios */
form#PieceAdminLstForm {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center !important;
    gap: 12px;
    margin: 0 0 14px !important;
    min-height: 38px;
}

form#PieceAdminLstForm > div.input {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    flex: 1 1 auto;
    max-width: 520px;
}

form#PieceAdminLstForm label,
form#PieceAdminLstForm label[for=PieceRef] {
    display: none !important;
}

form#PieceAdminLstForm input[type="text"],
form#PieceAdminLstForm input#PieceRef {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    height: 38px !important;
    min-width: 0 !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    position: static !important;
    background: #d3d3d3 !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #6a6f75 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

form#PieceAdminLstForm .submit,
form#PieceAdminLstForm div.submit {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

form#PieceAdminLstForm .submit input[type=submit],
form#PieceAdminLstForm div.submit input[type=submit] {
    height: 38px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 10px !important;
    line-height: 38px !important;
    vertical-align: middle;
}

/* Legends dentro del card (importación catálogo) */
div.importarcatalogo.form fieldset {
    overflow: hidden;
}

div.importarcatalogo.form fieldset legend {
    float: left;
    width: 100%;
    padding: 0 0 10px !important;
    margin: 0 0 14px !important;
    border: 0;
    border-bottom: 1px solid #ececec;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    background: transparent;
}

div.importarcatalogo.form fieldset::after {
    content: "";
    display: table;
    clear: both;
}

div.importarcatalogo.form fieldset > .row,
div.importarcatalogo.form fieldset > p,
div.importarcatalogo.form fieldset > div {
    clear: both;
}
