input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

input[type="submit"] {
    width: auto;
    padding: 5px 20px;
    border-radius: 5px;
    margin-bottom: 0;
}

h3 {
    margin-top: 0;
    background-color: #f9f9f9;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

form {
    padding: 0px 10px;
}

.button{
    width: auto;
    padding: 5px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    background-color: #efefef;
    color: #000;
    border: 1px solid #ccc;
}

.button-info {
    background-color: #0073aa;
    color: #fff;
}

.button-danger {
    background-color: #aa0000;
    color: #fff
}

.button-success {
    background-color: #00aa1c;
    color: #fff;
}

.button-info:hover {
    background-color: #005588;
}

.button-danger:hover {
    background-color: #880000;
}

.button-success:hover {
    background-color: #00881c;
}






p.submit input[type="submit"] {
    background-color: #00aa1c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 20px;
    font-size: 1em;
}

p.submit a{
    font-size: .9em;
    color: #aa0000;
    border: 1px solid #aa0000;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
}

.schools-reporting-wrapper {
    padding: 20px 0;
}



.schools-reporting-wrapper h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.wp-list-table {
    margin-top: 20px;
    width: 100%;
}

.wp-list-table,
.wp-list-table thead,
.wp-list-table tbody,
.wp-list-table td,
.wp-list-table tr {
    border: 1px solid #ccc;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .9em;
    text-align: left;
    padding: 5px;
}

.wp-list-table thead {
    background-color: #999;
    color: #fff;
}

.wp-list-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wp-list-table th,
.wp-list-table td {
    padding: 5px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.reports-filters {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.reports-filters h3 {
    margin-top: 0;
}

/* Make table take full width */
.form-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  /* Set <th> to fixed width and <td> to fill the rest */
  .form-table th {
    width: 150px;
    text-align: left;
    vertical-align: top;
    padding: 8px 0;
    font-weight: normal;
    font-size: .9em;
  }
  
  .form-table td {
    width: calc(100% - 150px);
    padding: 8px;
    display: flex;
  }
  

.notice {
    margin: 20px 0;
    padding: 12px;
    border-left: 4px solid;
}

.notice-success {
    border-left-color: #00a32a;
    background-color: #d4edda;
    color: #155724;
}

.notice-error {
    border-left-color: #dc3232;
    background-color: #f8d7da;
    color: #721c24;
}

.notice-warning {
    border-left-color: #ffb900;
    background-color: #fff3cd;
    color: #856404;
}

/* .button-small {
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.5;
    height: auto;
} */

.schools-reporting-wrapper select[multiple] {
    height: 120px;
}

.schools-reporting-wrapper .description {
    font-style: italic;
    color: #666;
    font-size: 13px;
}



@media (max-width: 768px) {
    .wp-list-table,
    .wp-list-table thead,
    .wp-list-table tbody,
    .wp-list-table th,
    .wp-list-table td,
    .wp-list-table tr {
        display: block;
    }
    
    .wp-list-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .wp-list-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 10px;
    }
    
    .wp-list-table td {
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .wp-list-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

    .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }

  .form-table th {
    width: 100%;
    padding-bottom: 0;
  }

  .form-table td {
    width: 100%;
    padding-top: 0;
  }

  .form-table td input,
  .form-table td select,
  .form-table td textarea {
    width: 100%;
    box-sizing: border-box;
  }

}