.centrar { margin-top: 4%; line-height: auto; text-align: center; } .cerrar-b { background-color: #fff; border: none; } .fondo { border-radius: 10px; line-height: 1; display: inline-block; vertical-align: middle; } .content { margin-bottom: 0; margin-top: 0; padding-top: 10px; padding-bottom: 10px; padding-left: 70px; padding-right: 70px; font-weight: 500; font-size: 32px; color: white; font-family: "Serenity Medium"; } .form-container { display: grid; grid-template-columns: repeat(3, 1fr); /* 4 columnas iguales */ gap: 10px; /* espacio entre columnas y filas */ } .item { box-sizing: border-box; padding: 10px; } .item.two-columns { grid-column: span 2; } .w-responsive { width: 160px; } .input { width: 500px; color: rgb(0, 140, 255); } .file-input { display: none; } .btnDelete { display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; background-color: transparent; height: 30px; width: 30px; color: #ccc; border-radius: 5px; padding: 0; } .btnDelete:hover { color: #dd131a; background-color: #f7e3e4; } .container-col { display: flex; flex-direction: column; padding-top: 100px; padding-left: 30px; padding-right: 65px; width: 100%; box-sizing: border-box; } .yellow { border: none; border-radius: 5px; padding: 5px 15px; font-size: 1rem; color: white; margin-left: 10px; background-color: #ebac3f; } .yellow:hover { background-color: #be8b32; } .orange { border: none; border-radius: 5px; padding: 5px 15px; font-size: 1rem; color: white; margin-left: 10px; background-color: #f56227; } .orange:hover { background-color: #d15321; } .red { border: none; border-radius: 5px; padding: 5px 15px; font-size: 1rem; color: white; margin-left: 10px; background-color: red; } .red:hover { background-color: rgb(177, 0, 0); } .action-edit { margin-left: 5px; background-color: #1d156e; color: white; height: 30px; width: 30px; } .action-delete { margin-left: 5px; background-color: #e43b3d; color: white; height: 30px; width: 30px; } .inline { display: flex; align-items: center; color: red; cursor: pointer; } .icon { transform: scale(0.8); vertical-align: middle; } .green { background-color: #2a6c42; border: none; color: white !important; cursor: pointer; border-radius: 6px; height: 35px; } .green:hover { background-color: #205232; } .buttons { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 15px; padding-left: 20px; } .badge-active { color: #026AA2; font-weight: 500; padding: 3px 7px; background-color: #E0F2FE; border-radius: 15px; } .badge-inactive { color: #AC2722; font-weight: 500; padding: 3px 7px; background-color: #FEE4E2; border-radius: 15px; } /* --------------- Table and responsive styles ---------------- */ .table-container { width: 100%; overflow: auto; } .table-responsive { overflow: auto; } /* --------------- Special button styles for Circulares ---------------- */ .btn-grande { display: inline-flex; align-items: center; background-color: rgb(184, 221, 247); border-radius: 4px; padding: 0 12px; height: 36px; } .btn-movil { display: none; background: none; border: none; padding: 0; margin: 0; } /* --------------- Modal and form styles ---------------- */ .close { padding-top: 20px; padding-right: 20px; display: flex; justify-content: end; } .center { text-align: center; font-size: 32px; font-weight: 600; } .responsive { display: flex; flex-direction: row; } .align { margin-top: 30px; display: flex; justify-content: center; } /* --------------- Media Queries ---------------- */ @media only screen and (max-width: 600px) { .centrar { margin-top: 8%; } .fondo { width: 90%; } .content { font-size: 24px; padding: 10px 20px; } .container-col { padding-top: 50px; padding-left: 15px; padding-right: 15px; } .input { width: 100%; } .container-search { flex-direction: column; } .buttons { flex-direction: column; align-items: stretch; gap: 10px; padding-left: 0; } .table-container { width: 100%; } /* Special mobile styles for Circulares buttons */ .btn-grande { display: none; } .btn-movil { display: inline-flex; } .btn-movil img { width: 24px; height: 24px; } /* Adjust action buttons container */ .flex-row.items-center { justify-content: center; } } @media (max-width: 768px) { .w-responsive { width: 100%; } .content { font-size: 22px; padding: 10px 15px; } .item { flex: 1 0 100%; } .table-responsive { overflow-x: auto; } /* Ensure table cells have proper spacing */ .mat-cell, .mat-header-cell { padding: 4px 8px; } /* Adjust column widths for mobile */ .mat-column-acciones { min-width: 80px; } .mat-column-adjuntos { min-width: 100px; } }