.dashboardContainer_P1 { display: flex; flex-direction: column; padding: 0; margin: 0; min-height: 100vh; background-color: #f4f4f4; } .scanView_P1 { padding: 20px; width: 100%; .container_P1 { width: 100%; max-width: 900px; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #ddd; } .header_P1 { padding: 16px 20px; background: #f7f7f7; border-bottom: 1px solid #e0e0e0; font-size: 15px; color: #0056b3; text-align: center; font-weight: 500; } .main-content_P1 { display: flex; min-height: 420px; } .tabs_P1 { width: 230px; background-color: #fafafa; display: flex; flex-direction: column; justify-content: space-evenly; } .tab_P1 { padding: 12px 16px; cursor: pointer; border-right: 1px solid #e0e0e0; color: #555; transition: all 0.3s ease; border-left: 4px solid transparent; font-size: 15px; font-weight: 500; background: none; border: none; text-align: left; } .tab_P1:hover { background-color: #f0f0f0; color: #000; } .active_P1 { background-color: #fff; border-left: 4px solid #0056b3; border-right: none; border-bottom: 1px solid #0056b3; color: #0056b3; font-weight: 600; } .data-table-wrapper_P1 { flex: 1; padding: 20px; } .data-table_P1 { width: 100%; } .data-row_P1 { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #f9f9f9; transition: background 0.2s ease; } .data-row_P1:hover { background: #f1f1f1; } .os-name_P1 { flex: 1; font-size: 15px; color: #333; } .count-box_P1 { background: #ffffff; border: 1px solid #0056b3; padding: 6px 14px; font-weight: 600; font-size: 15px; text-align: center; min-width: 70px; } .total-row_P1 { background: #eaf4ff; font-weight: bold; .count-box_P1 { color: #0056b3; } } } .grid { background-color: #fff; border-radius: 10px; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; padding: 20px; display: grid; overflow-x: auto; box-shadow: 0 4px 10px #0000001a; } @media (max-width: 700px) { .scanView_P1 .tabs_P1 { width: 160px; } .scanView_P1 .tab_P1 { font-size: 12px; padding: 10px 12px; text-align: left; } .grid{ display: flex; flex-direction: column; align-items: start; } }