input[type="text"], input[type="email"], input[type="url"], input[type="password"],
select { height: 40px; padding: 8px;  box-sizing: border-box;  font-size: 16px; margin-bottom: 15px; }
select { height: 48px;  padding: 8px; box-sizing: border-box; font-size: 16px; margin-bottom: 15px;  }
body { font-family: 'Roboto', Helvetica, sans-serif; line-height: 1.6; background-color: #f4f4f4; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; flex-direction: column; }
.top-bar { width: 100%; background-color: rgb(242, 129, 53); color: white; padding: 15px 0; text-align: center; position: fixed; top: 0; z-index: 1000; border-radius: 5px; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); overflow: hidden; }
.top-bar h1.header-title { margin: 0; color: white; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.top-bar:before { content: ""; display: block; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; background: linear-gradient( to right, rgba(255, 140, 80, 0.8), rgba(242, 129, 53, 1), rgba(255, 140, 80, 0.8) );
    z-index: -1; border-style: outset; border-width: 2px; border-radius: 5px; border-color: rgba(255, 220, 150, 0.5); overflow: hidden; box-shadow: 5px 8px 20px 5px rgba(0, 0, 0, 0.3); }
.container { width: 100%; max-width: 1024px; padding: 2em; background: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; margin: 0 auto; margin-top: 150px; } 
.container-wide { width: 100%; max-width: 90%; padding: 2em; background: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; margin: 0 auto; margin-top: 150px; }
.container-full-width { width: 100%; max-width: none; padding: 2em 5%; background: #fff; box-sizing: border-box; margin: 0 auto; margin-top: 150px; }
h1, h2 {color: #333; margin: 1em 0; text-align: center; }
form { display: flex; flex-direction: column; margin-bottom: 1.5em; } 
label { margin-bottom: 0.5em; font-weight: bold; }
input[type="text"], select { padding: 0.75em; border: 1px solid #ddd; border-radius: 4px; width: 100%; margin-bottom: 1em; font-size: 1em; transition: border-color 0.3s; }
input[type="text"]:focus, select:focus { border-color: #007bff; outline: none; }
button { padding: 0.75em; border: 1px solid #c76327; background: linear-gradient(to bottom, #ffb66d, #ed872b, #c9571b); color: #ffffff; cursor: pointer; border-radius: 4px; font-size: 1em; margin-top: 1em; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
button:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.back-button { display: inline-block; padding: 0.75em 1.5em; margin-top: 2em; border: 1px solid #c76327; background: linear-gradient(to bottom, #ffb66d, #ed872b, #c9571b); color: #ffffff; text-decoration: none; 
    font-size: 1em; border-radius: 4px; transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
.back-button:hover {background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 );box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px);}
.back-button i { margin-right: 0.5em; }
.admin-nav a {display: block; padding: 15px; background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b); text-decoration: none; color: #ffffff; border: 1px solid #c76327; border-radius: 5px; text-align: center;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); font-size: 15px; }
.admin-nav a:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 );box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px);}
.admin-gestion-escaneres .tab-buttons button { padding: 10px 10px; cursor: pointer; background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b ); color: #ffffff; border: none; border-radius: 4px; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
.admin-gestion-escaneres .tab-buttons button.active { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.admin-gestion-escaneres .tab-buttons button:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.admin-gestion-escaneres .back-button { display: inline-block; margin-top: 10px; padding: 10px 15px; background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b ); color: #ffffff; text-decoration: none; border-radius: 4px; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
.admin-gestion-escaneres .back-button:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
#modal-buttons button { background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b ); border: none; color: #ffffff; padding: 10px 20px; text-align: center; display: inline-block; font-size: 16px; margin: 4px 2px; border-radius: 4px; cursor: pointer; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
#modal-buttons button:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.search-button { padding: 10px; background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b ); border: none; border-radius: 0 4px 4px 0; cursor: pointer; color: #ffffff; display: flex; align-items: center; justify-content: center; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
.search-button:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.search-button i { font-size: 16px; }
.tab-button { background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b ); color: #ffffff; border: none; padding: 10px 0; cursor: pointer; border-radius: 4px; flex-grow: 1; text-align: center; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; margin: 0 5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
.tab-button:hover { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.tab-button.active { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); }
.tab-header { background: linear-gradient( to bottom, #ffb66d, #ed872b, #c9571b ); color: #ffffff; border: none; padding: 10px; cursor: pointer; border-radius: 4px; 
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease; flex-grow: 1; text-align: center; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2); }
.tab-header.active { background: linear-gradient( to bottom, #ffd48a, #ed872b, #b84f19 ); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25); transform: translateY(-1px); }
.country-table { width: 100%; border-collapse: collapse; } 
.country-table th, .country-table td { border: 1px solid #ddd; padding: 8px; text-align: center; width: 25%; }
.country-table th { background-color: rgb(242, 129, 53); color: white; } 
.country-table td:hover { background-color: #ddd; } 
.country-table tr:nth-child(even) { background-color: #f9f9f9; } 
.country-table-gestion { width: 100%; border-collapse: collapse; } 
.country-table-gestion th, .country-table-gestion td { border: 1px solid #ddd; padding: 8px; text-align: center; width: 50%; } 
.country-table-gestion th { background-color: #f2f2f2; color: black; } 
.country-table-gestion td:hover { background-color: #ddd; }
.country-table-gestion tr:nth-child(even) { background-color: #f9f9f9;}
.admin-gestion-escaneres .tab { display: none; } .admin-gestion-escaneres .tab.active { display: block; }
.admin-gestion-escaneres .article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style-type: none; padding: 0; }
.category-list { margin-top: 2em; padding: 0; list-style-type: none; } 
.category-list li { background-color: #e9ecef; margin: 0.5em 0; padding: 0.75em; border-radius: 4px; } 
.login-wrapper { display: flex; justify-content: center; align-items: center; height: 45vh; background-color: #f4f4f4; }
.login-container { width: 100%; max-width: 600px; padding: 3em; background: #fff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; text-align: center; } 
.login-container h1 { margin-bottom: 1em; font-size: 1.5em; } 
.form-group { margin-bottom: 1em; }
input[type="text"], input[type="password"] { padding: 0.5em; border: 1px solid #ddd; border-radius: 4px; width: 100%; font-size: 1em; transition: border-color 0.3s; } 
input[type="text"]:focus, input[type="password"]:focus { border-color: rgb(242, 129, 53); outline: none; }
.error-message { color: red; margin-top: 1em; }
@media (max-width: 600px) {
    body { padding: 0 10px; } 
    .container { padding: 1.5em; margin-top: 130px; } 
    h1 { font-size: 1.5em; } 
    .country-table th, .country-table td { font-size: 0.9em; } 
    .back-button { padding: 10px 15px; width: 90%; margin-bottom: 10px; } 
    .top-bar h1.header-title { font-size: 1.2em; } 
    .login-wrapper { padding: 1em; } 
    .login-container { width: 90%; padding: 2em; } 
    .login-container h1 { font-size: 1.2em; } 
    .form-group input { font-size: 1em; } 
    button { padding: 0.75em; } 
    .error-message { font-size: 0.9em; } 
    .back-button { padding: 0.5em; font-size: 0.9em; }
}
@media (max-width: 768px) {
    .container { padding: 1.5em; } .country-table th, .country-table td { font-size: 0.9em; } .tabs { flex-direction: column; } .tab-button { margin-bottom: 10px; width: 100%; } 
    .admin-gestion-escaneres .container { max-width: 100%; padding: 5px; }
}
@media (max-width: 480px) {
    .country-table { border-collapse: collapse; width: 100%; } 
    .country-table th, .country-table td { display: block; width: 100%; box-sizing: border-box; } 
    .country-table td { text-align: right; position: relative; padding-left: 50%; } 
    .country-table td::before { content: attr(data-label); position: absolute; left: 0; width: 50%; padding-left: 0.5em; white-space: nowrap; font-weight: bold; background: #f4f4f4; }
}
fieldset { border: 1px solid #ddd; border-radius: 4px; padding: 1em; margin-bottom: 1.5em; padding-top: 0; } 
legend { font-weight: bold; margin-bottom: 0.5em; }
.country-selection { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; } 
.country-checkbox { display: flex; align-items: center; margin: 0; } 
.country-checkbox input[type="checkbox"] { margin-right: 0.5em; accent-color: rgb(242, 129, 53); } 
.country-checkbox input[type="checkbox"]:checked { accent-color: #e0712e; }
.admin-nav { margin-top: 2em; } 
.admin-nav ul { list-style-type: none; padding: 0; } 
.admin-nav li { margin: 0.5em 0; } 
.admin-nav .menu-columns.simple { display: grid; grid-template-columns: repeat(1, 1fr); gap: 10px 10px; }
.admin-nav .menu-columns.siete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; } 
.admin-nav .menu-columns.siete > *:first-child { grid-column: 1 / -1; } 
.admin-nav .menu-columns.layout-223 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; } 
.admin-nav .menu-columns.layout-223 > .menu-group-title { grid-column: 1 / -1; } 
.admin-nav .menu-columns.layout-223 > li:nth-child(2), 
.admin-nav .menu-columns.layout-223 > li:nth-child(3) { grid-column: span 3; }
.admin-nav .menu-columns.layout-223 > li:nth-child(4),
.admin-nav .menu-columns.layout-223 > li:nth-child(5) { grid-column: span 3; }
.admin-nav .menu-columns.layout-223 > li:nth-child(6),.admin-nav .menu-columns.layout-223 > li:nth-child(7),.admin-nav .menu-columns.layout-223 > li:nth-child(8) { grid-column: span 2; }
.admin-nav .menu-columns.layout-23 {display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.admin-nav .menu-columns.layout-23 > .menu-group-title { grid-column: 1 / -1; } 
.admin-nav .menu-columns.layout-23 > li:nth-child(2), .admin-nav .menu-columns.layout-23 > li:nth-child(3) { grid-column: span 3; } 
.admin-nav .menu-columns.layout-23 > li:nth-child(4), .admin-nav .menu-columns.layout-23 > li:nth-child(5), .admin-nav .menu-columns.layout-23 > li:nth-child(6) { grid-column: span 2; } 
.admin-nav .menu-columns.cuatro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 10px; }
.admin-nav .menu-columns.cinco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; } 
.admin-nav .menu-columns.scanners-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; } 
.admin-nav .menu-columns.distribution-countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; } 
.admin-nav .menu-columns.drivers-software { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; } 
.admin-nav .menu-columns.comparatives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; } 
.admin-nav .menu-columns.user-management { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 10px; }
.admin-nav .menu-columns li { margin-bottom: 5px; } 
.admin-nav .menu-columns a { } 
.menu-group-title { font-weight: bold; margin: 20px 0 10px 0; color: #333; text-transform: uppercase; font-size: 16px; padding: 5px 0; border-bottom: 1px solid #ccc; text-align: center; grid-column: 1 / -1; background-color: #f9f9f9; } 
.admin-categories .category-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style-type: none; padding: 0; } 
.admin-categories .category-list li { background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; padding: 10px; margin-bottom: 10px; }
@media (max-width: 600px) {
    .admin-categories .category-list { grid-template-columns: repeat(1, 1fr); }
}
@media (min-width: 601px) and (max-width: 1024px) {
    .admin-categories .category-list { grid-template-columns: repeat(2, 1fr); }
}
.admin-countries { width: 100%; } 
.tabs { display: flex; justify-content: space-between; margin-bottom: 20px; width: 100%; } 
.tab-content { display: none; padding: 15px; background-color: #fff; border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); } 
.tab-content.active { display: block; } 
.tab-content form { display: flex; flex-direction: column; max-width: 400px; margin: auto; }
.tab-content form input[type="text"],
.tab-content form select,
.tab-content form button { margin-bottom: 10px; padding: 10px; font-size: 14px; width: 100%; box-sizing: border-box; } 
.tab-content form button { } 
.country-table-gestion-custom { width: 100%; border-collapse: collapse; } 
.country-table-gestion-custom th, .country-table-gestion-custom td { border: 1px solid #ddd; padding: 8px; text-align: center; width: calc(100% / 4); }
.country-table-gestion-custom th { background-color: #f2f2f2; color: black; } 
.country-table-gestion-custom td:hover { background-color: #ddd; } 
.country-table-gestion-custom tr:nth-child(even) { background-color: #f9f9f9; } 
.tab-buttons { list-style: none; padding: 0; margin: 0; display: flex; border-bottom: 2px solid #ddd; overflow-x: auto; }
.tab-buttons li { margin-right: 10px; flex: 1; min-width: 100px; text-align: center; } 
.tab-content-item { display: none; } 
.tab-content-item.active { display: block; } 
.article-table { width: 100%; border-collapse: collapse; } 
.article-table td { border: 1px solid #ddd; padding: 8px; text-align: center; }
.article-table td a { text-decoration: none; color: #007bff; } 
.article-table td a:hover { text-decoration: underline; } 
.language-selector select { padding: 5px; border-radius: 5px; border: 1px solid #ddd; background-color: #fff; color: #333; cursor: pointer; }
.small-text { font-size: 0.7em; } 
.search-form { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; } 
.search-input { padding: 10px; border: 1px solid #ddd; border-radius: 4px 0 0 4px; font-size: 16px; width: 300px; box-sizing: border-box; } 
.logo { max-width: 100%; height: auto; }
