 .page-container {
     padding: 40px;
 }

 .top-bar {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     align-items: center;
     gap: 10px;
     margin-bottom: 10px;
 }

 .filter-form {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     align-items: flex-end;
 }

 .filter-form__field {
     display: flex;
     flex-direction: column;
 }

 .filter-form__field label {
     font-size: 14px;
     margin-bottom: 5px;
     color: var(--dark-charcoal);
 }

 .filter-form__input,
 .filter-form__select {
     padding: 10px 14px;
     border: 1px solid var(--gray-80);
     border-radius: 6px;
     font-size: 14px;
     min-width: 160px;
 }

 .btn-search {
     padding: 12px 24px;
     background-color: var(--accent);
     color: var(--white);
     border: none;
     border-radius: 8px;
     font-weight: 600;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 .btn-search:hover {
     background-color: var(--primary);
 }

 .table-wrapper {
     overflow-x: auto;
     animation: fadeIn 1s ease-in-out;
 }

 .event-table {
     width: 100%;
     border-collapse: collapse;
     min-width: 1200px;
     background-color: var(--white);
     box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
     border-radius: 12px;
 }

 .event-table__header,
 .event-table__cell {
     padding: 12px 20px;
     text-align: left;
     border-bottom: 1px solid var(--gray-80);
 }

 .event-table__header {
     background-color: var(--primary);
     color: var(--white);
     position: sticky;
     top: 0;
     z-index: 2;
 }

 .event-table__row:hover {
     background-color: var(--white-smoke);
 }

 .toggle-switch {
     position: relative;
     display: inline-block;
     width: 50px;
     height: 24px;
 }

 .toggle-switch__input {
     display: none;
 }

 .toggle-switch__slider {
     position: absolute;
     cursor: pointer;
     background-color: #ccc;
     border-radius: 50px;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     transition: .4s;
 }

 .toggle-switch__slider::before {
     position: absolute;
     content: "";
     height: 18px;
     width: 18px;
     left: 3px;
     bottom: 3px;
     background-color: white;
     transition: .4s;
     border-radius: 50%;
 }

 .toggle-switch__input:checked+.toggle-switch__slider {
     background-color: var(--middle-green);
 }

 .toggle-switch__input:checked+.toggle-switch__slider::before {
     transform: translateX(26px);
 }

 .host-name {
     margin-bottom: 20px;
     text-align: center;
     color: var(--secondary);
     background: var(--white);
     padding: 10px 0;
 }

 .card-container {
     margin: 0 auto;
     max-width: 1400px;
 }

 .cards-wrapper {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
     /* LIST view */
     gap: 12px;
     /* LIMIT width */
     margin: 0 auto;
     /* center */
 }

 .card {
     max-width: 280px;
     background: #fff;
     border-radius: 12px;
     padding: 18px 20px;
     box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
     width: 100%;
     /* fit the 280px container */
     display: flex;
     justify-content: space-between;
     text-align: center;
 }

 .card h3 {
     margin-bottom: 6px;
     font-size: 16px;
     font-weight: 700;
 }

 .card p {
     font-size: 22px;
     margin: 0;
     font-weight: 600;
     color: var(--primary);
 }


 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @media (max-width: 768px) {
     .filter-form__field {
         width: 100%;
     }

     .filter-form__input,
     .filter-form__select,
     .btn-search {
         width: 100%;
     }

     .event-table {
         font-size: 14px;
     }

     .event-table__header,
     .event-table__cell {
         padding: 10px;
     }
 }

 @media (max-width: 480px) {
     .form-row {
         flex-direction: column;
         gap: 15px;
     }

     .form-row .form-group {
         flex: 1 1 100%;
         width: 100%;
     }

     .form-group input,
     .form-group select,
     .form-group textarea {
         font-size: 14px;
         padding: 12px 10px;
     }

     .form-group label {
         font-size: 13px;
         top: 14px;
     }

     .btn-primary,
     .btn-search {
         width: 100%;
         padding: 12px;
         font-size: 14px;
         text-align: center;
     }

     .form-toggle-group {
         flex-direction: column;
         gap: 15px;
     }
 }