Files
front-AT/app/globals.css
T
2026-03-03 17:36:06 -06:00

781 lines
11 KiB
CSS

* {
color: #333333;
font-size: 1.4rem;
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: 62%;
overflow-y: auto;
scrollbar-width: none;
}
body {
position: relative;
font-family: var(--font-poppins), sans-serif;
display: grid;
grid-template-rows: auto 1fr auto;
min-height: 100dvh;
width: 100vw;
overflow: hidden;
background-color: #f9f9f9;
}
main {
position: relative;
}
footer {
position: relative;
display: flex;
justify-content: center;
text-align: center;
padding: 10px;
background-color: #003e79;
z-index: 0;
overflow: hidden;
}
footer p {
color: white;
max-width: 900px;
z-index: 2;
font-size: 1.4rem;
}
.mainContainer {
position: relative;
display: grid;
align-items: center;
justify-items: center;
height: 100%;
width: 100%;
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
position: relative;
padding: 1.5rem;
margin: 1.5rem auto;
border: 1px solid #d1d5db;
border-radius: 4px;
width: 90%;
max-width: 1500px;
height: 600px;
min-height: 520px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
background-color: #f9f9f9;
z-index: 0;
animation: fadeInUp 1s ease forwards;
}
.containerSection {
position: relative;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.containerForm {
width: 100%;
max-width: 450px;
gap: 1rem;
}
input,
select {
flex: 1;
width: 100%;
min-width: 200px;
max-width: 500px;
padding: 0.75rem;
border: 1px solid #cfcfcf;
background-color: #fff;
border-radius: 4px;
font-size: 1.4rem;
color: black;
height: 3.5rem;
transition: all 0.2s ease-in-out;
}
input:focus,
select:focus {
background-color: #f9f9f9;
outline: none;
box-shadow: 0px 0px 8px 2px rgba(0, 62, 121, 0.5);
transition: all 0.2s ease-in-out;
}
input:disabled,
select:disabled {
background-color: #cfcfcf;
transition: all 0.2s ease-in-out;
}
select:-webkit-scrollbar {
width: 6px;
}
option {
font-size: 1.4rem;
}
input[type="checkbox"] {
min-width: 3rem;
}
.radio-grid {
display: flex;
gap: 2rem;
margin: 1rem 0;
}
.radio-card {
display: flex;
align-items: center;
gap: 1rem;
padding: 1.2rem 1.8rem;
border-radius: 12px;
border: 2px solid #e5e7eb;
cursor: pointer;
background: #fff;
transition: all 0.25s ease;
font-size: 1.4rem;
font-weight: 500;
}
.radio-card:hover {
border-color: #002b7f;
background: rgba(0, 43, 127, 0.05);
}
.radio-card input {
display: none;
}
.radio-ui {
width: 22px;
height: 22px;
border: 2px solid #002b7f;
border-radius: 50%;
position: relative;
flex-shrink: 0;
}
.radio-ui::after {
content: "";
width: 10px;
height: 10px;
background: #c9a227;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: opacity 0.2s ease;
}
.radio-card input:checked+.radio-ui::after {
opacity: 1;
}
.radio-card input:checked~.radio-text {
color: #002b7f;
font-weight: 600;
}
.radio-card input:checked {
+.radio-ui {
border-color: #002b7f;
}
}
@media (max-width: 640px) {
.radio-grid {
flex-direction: column;
}
}
label {
font-size: 1.4rem;
font-weight: bold;
display: block;
}
button {
font-size: 1.4rem;
padding: 1rem 1.75rem;
border-radius: 4px;
cursor: pointer;
height: 3.5rem;
max-width: 240px;
font-weight: bold;
border: none;
transition: background-color 0.2s ease;
}
.button {
color: #ffffff;
}
button:disabled {
background-color: #bfc6d1;
cursor: not-allowed;
opacity: 0.7;
}
.groupInput {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: space-between;
width: 100%;
}
.total {
height: 35px;
flex-wrap: nowrap;
}
.buttonSearch {
background-color: #2563eb;
}
.buttonSearch:hover {
background-color: #1d4ed8;
}
.buttonCharge {
background-color: #16a34a;
}
.buttonCharge:hover {
background-color: #15803d;
}
.buttonCancel {
background-color: #d32f2f;
}
.buttonCancel:hover {
background-color: #d12020;
}
.absoluteButton {
position: absolute;
bottom: 1rem;
right: 1rem;
display: flex;
gap: 1rem;
}
ul {
list-style: none;
font-size: 1.4rem;
}
.containerInput {
display: flex;
flex-direction: column;
margin-bottom: 10px;
}
.containerButton {
display: flex;
gap: 10px;
justify-content: end;
align-items: center;
width: 100%;
}
a {
text-decoration: none;
}
.information {
display: flex;
flex-direction: column;
background-color: #ffffff;
border-radius: 4px;
width: 100%;
max-width: 450px;
margin-top: 1rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
min-height: fit-content;
transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.informationList {
list-style: none;
padding: 0 1rem;
margin: 0;
}
.informationItem {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 5px 0;
border-bottom: 1px solid #e5e5e5;
height: 35px;
}
.informationItem:last-child {
border-bottom: none;
}
.informationKey {
font-weight: 600;
text-transform: capitalize;
min-width: 80px;
}
.informationValue {
color: #000000;
font-size: 1.5rem;
}
.Credito {
font-weight: bold;
font-size: 2rem;
}
.title {
top: 0;
left: 0;
width: 100%;
font-size: 2.5rem;
font-weight: bold;
text-align: start;
color: #bd8c01;
border-bottom: 1px solid #cfcfcf;
margin-bottom: 0.5rem;
}
form {
display: flex;
flex-direction: column;
width: 100%;
}
.padding {
display: flex;
flex-direction: column;
padding: 1rem;
}
.gap {
display: flex;
flex-direction: column;
gap: 1rem;
}
.toggleSection {
width: 100%;
max-width: fit-content;
min-width: 600px;
border-radius: 4px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
height: fit-content;
overflow: hidden;
scrollbar-width: none;
}
.toggleGroup {
display: flex;
background-color: #f3f4f6;
border-radius: 6px;
flex-wrap: wrap;
min-height: 45px;
}
.toggleButton {
flex: 1;
background-color: transparent;
border: none;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s, color 0.3s;
font-weight: 500;
overflow: hidden;
max-height: 60px;
padding: 1rem 0.5rem;
min-width: 100px;
min-height: 45px;
max-width: none;
}
.toggleButton.active {
font-weight: 600;
background-color: #ffffff;
color: rgb(1, 92, 184);
border-radius: 4px 4px 0 0;
border-bottom: none;
box-shadow: 0px -8px 10px 3px #cfcfcf;
}
.toggleContent {
overflow-y: auto;
scrollbar-width: none;
}
p {
font-size: 1.4rem;
}
table {
width: 100%;
border-collapse: separate;
border-spacing: 0 1rem;
table-layout: auto;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1.4rem;
color: #333;
}
table th,
table td {
padding: 1rem 1.5rem;
}
table th {
position: sticky;
top: 0;
color: #ffffff;
background-color: #2563eb;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
text-align: center;
z-index: 2;
border: none;
min-height: 35px;
}
table td {
text-align: center;
word-wrap: break-word;
overflow-wrap: break-word;
border: none;
}
table tr {
background-color: rgb(255, 255, 255);
transition: background-color 0.2s ease;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
thead tr {
background-color: #2563eb;
position: relative;
z-index: 1;
}
tbody tr {
transition: transform 0.3s ease, opacity 0.3s ease;
opacity: 1;
z-index: 0;
}
tbody tr.hidden {
transform: translateY(-10px);
opacity: 0;
height: 0;
}
table tr:nth-child(even) {
background-color: #f9f9f9;
}
table tr:hover {
background-color: #cfcfcf;
}
table th:first-child,
table td:first-child {
border-radius: 4px 0 0 4px;
}
table th:last-child,
table td:last-child {
border-radius: 0 4px 4px 0;
}
.tableContainer {
margin-top: 10px;
overflow-y: auto;
overflow-x: auto;
border-radius: 4px;
border: 1px solid #cfcfcf;
max-height: 430px;
scrollbar-color: rgb(1, 92, 184) rgba(0, 0, 0, 0);
background-color: #f9f9f9;
width: 100%;
}
.centerGrid {
display: grid;
grid-template-columns: auto 725px;
justify-content: center;
align-items: center;
}
.centerGrido {
display: grid;
grid-template-columns: auto 200px;
justify-content: center;
align-items: center;
}
.loginContainer {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
.pass {
display: flex;
width: 300px;
}
.containerAlert {
position: absolute;
background-color: #003e79;
z-index: 10;
}
.checkbox-grid label {
display: inline-flex;
align-items: center;
font-size: 1.4rem;
cursor: pointer;
}
.checkbox-grid input[type="checkbox"] {
margin: 0;
padding: 0;
transform: scale(1);
/* mantiene el tamaño */
}
@media (max-width: 1330px) {
.centerGrid {
display: flex !important;
justify-content: center;
align-items: center;
}
}
@media (max-width: 1300px) {
.container {
width: 100%;
max-width: none;
padding: 1rem;
}
.containerSection {
overflow: auto;
scrollbar-width: none;
}
}
@media (max-width: 800px) {
.container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
width: 100%;
height: 650px;
max-height: 650px;
border-radius: 0;
}
.containerSection {
align-items: start;
scrollbar-width: none;
}
.centerGrid {
display: flex !important;
justify-content: center;
align-items: center;
}
footer p {
font-size: 1.2rem;
}
input,
select {
font-size: 1.4rem;
}
button {
padding: 1rem 1.5rem;
}
.toggleButton {
padding: 0.5rem;
}
.toggleSection {
overflow: auto;
}
}
@media(max-height:800px) {
* {
font-size: 1rem;
}
.title {
font-size: 1.9rem;
}
label {
font-size: 1.2rem;
}
button {
font-size: 1.2rem;
padding: 0.5rem 1.5rem;
height: 3rem;
}
.informationValue {
font-size: 1.01rem;
}
.informationItem {
height: 25px;
}
input,
select {
padding: 0.5rem;
height: 3rem;
}
.containerForm {
gap: 0.5rem;
}
.toggleGroup {
min-height: 30px;
}
.toggleButton {
font-weight: 400;
padding: 1rem 0.5rem;
min-width: 100px;
min-height: 30px;
}
.gap {
gap: 0.5rem;
}
.information {
margin-top: 0.5rem;
}
table {
border-spacing: 0 0.5rem;
font-size: 1.4rem;
}
.container {
padding: 0.7rem;
}
.total {
height: 30px;
}
.information {
max-width: 320px;
}
.containerForm {
max-width: 320px;
}
.Credito {
font-size: 1.5rem;
}
table th,
table td {
padding: 0.65rem 1rem;
}
.toggleSection {
min-width: 570px;
}
}
@media (max-height: 960px) {
.container {
margin: 0;
}
}
@media(max-width:785px) {
.toggleSection {
min-width: 100%;
}
}
@media (max-width: 700px) {
.title {
max-width: 250px;
overflow-wrap: break-word;
font-size: 2rem;
min-height: 50px;
align-items: center;
}
.toggleButton {
padding: 0;
}
}