.admin-panel {
    margin: 20px;
    font-family: Arial, sans-serif;
}

.admin-tabs {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tabs {
    padding: 0;
    margin: 0;
    margin-left: 0;
    border-top: 1px solid rgba(0, 0, 0, .05);
}

.tabs li {
    margin-right: 15px;
    list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    position: relative;
}

.tabs a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

.tabs a:hover {
    color: #0073aa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.add-new-event, .add-new-category, #add-user-btn {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
}

.add-new-event:hover, .add-new-category:hover {
    background-color: #005d8f;
    color: white;
}

.admin-menu ul li a.active {
    font-weight: bold;
    color: #0073aa;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.pagination {
    margin-top: 10px;
    text-align: center;
}
.pagination button {
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
}
.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

textarea#edit_event_message {
    margin-bottom: 10px;
}

button.edit-event, button.edit-user {
    margin-bottom: 5px;
}

.admin-menu ul li a i {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "";
    line-height: 1.618;
    margin-left: .5407911001em;
    width: 1.41575em;
    text-align: right;
    float: right;
    opacity: .25;
}

.admin-menu ul li a.active i {
    opacity: 1;
}

.admin-menu ul li a {
    text-decoration: none !important;
    padding: .875em 0;
    display: block;
}

div#add-event-form input, div#add-event-form textarea, div#add-event-form select, div#add-user-form input, div#add-user-form select, #edit-event-form input[type="text"]{
    width: 100%;
}

p.add-event-row select#company, p.add-event-row select#line_no {
    padding: 10px;
}

form#edit-event-form p {
    margin: 5px 0;
}

table#events-table td {
    font-size: 15px;
}

div#dashboard p {
    margin: 0;
}

td.event-message span {
    display: block;
}

input#edit_username[readonly] {
    background-color: #d9d9d9;
}

a.user-reset-password.button {
    margin-top: 5px;
    font-weight: inherit;
}

#dashboard .dashboard-items {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}

#dashboard .dashboard-items .dashboard-item {
    display: flex;
    margin-bottom: 50px;
    flex: 0 0 49%;
    max-width: 49%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    padding: 30px 20px;
    -webkit-box-shadow: 0px 0px 28px rgba(0, 0, 0, .08);
    -moz-box-shadow: 0px 0px 28px rgba(0, 0, 0, .08);
    box-shadow: 0px 0px 28px rgba(0, 0, 0, .08);
    border-radius: 10px;
    height: 100%;
    color: #ffffff;
    align-items: center;
    flex-wrap: wrap;
}

#dashboard .dashboard-items .dashboard-item .widget-data {width: calc(100% - 60px);color: #fff;}

#dashboard .dashboard-items .dashboard-item .widget-icon {
    width: 60px;
    font-size: 45px;
    line-height: 1;
    color: #fff;
}

#dashboard .dashboard-items .dashboard-item .widget-data .weight-400.font-20 {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
}

#dashboard .dashboard-items .dashboard-item .weight-300.font-30 {
    font-weight: 300;
    font-size: 30px;
    line-height: 1.46em;
}

.dashboard-item.gradient-style1 {
    background-image: linear-gradient(135deg, #43CBFF 10%, #9708CC 100%);
}

.dashboard-item.gradient-style2 {
    background-image: linear-gradient(135deg, #FF9D6C 10%, #BB4E75 100%);
}

@media (min-width:768px){
    p.add-event-row.half-left {
        width: 38.4615384615%;
        float: left;
        margin-right: 7.6923076923%;
    }
    
    p.add-event-row.half-right {
        width: 53.8461538462%;
        float: right;
        margin-right: 0;
    }

    .search_company_btn {
        font-size: 14px;
        margin-top: 16px;
    }
      .search_company {
        width: 100%;
    }

    .admin-panel .admin-menu {
        width: 17.6470588235%;
        float: left;
        margin-right: 5.8823529412%;
    }
    
    .admin-content {
        width: 76.4705882353%;
        float: right;
        margin-right: 0;
    }
}


@media (max-width:768px){

    .search_company_btn {
        font-size: 14px;
        margin-top: 16px;
    }
    .search_company {
        width: 100%;
    }

    .admin-content {
        margin-top: 20px;
    }
    #events-table thead, #categories-table thead {
        display: none;
    }
    table#events-table td, table#categories-table td {
        display: block;
        text-align: center;
    }
    table#events-table tr, table#categories-table tr {
        margin: 10px 0;
    }

    #add-category-form input#category_name {
        width: 100%;
    }
    #add-category-form #add-category-btn {
        margin-top: 20px;
    }
    #add-category-form {
        text-align: center;
    }

    .modal-content {
        padding: 10px;
        width: 95%;
    }

}