*,
html,
body {
    margin: 0;
    padding: 0;
}

.main_content {
    /* background-color: #f0f0f0; */
    font-family: Arial, sans-serif;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0px 0px 13px 0px #b9b9b9;
}

/* .bold_label {
    font-weight: 600;
} */

.content_title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.form_input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

label {
    width: 200px;
    word-wrap: break-word;
}

.input_field {
    width: calc(100% - 200px);
    padding: 0.7rem;
    border: 1px solid #77b800;
    outline: none;
    background: #dee5ff;
}

.row_input_group {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.row_input_group .bold_label:nth-child(2) {
    width: 100px;
}

.row_input_group .form_input:nth-child(2) label {
    min-width: unset;
}

.short_input {
    border: none;
    outline: none;
    background: #dee5ff;
    width: 2rem;
    height: 2.2rem;
    padding-left: 5px;
}

.short_input_holder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid #77b800;
    padding-left: 5px;
}

.all_in_line {
    display: flex;
    gap: 1rem;
}

.all_in_line .bold_label {
    min-width: unset;
}

.normal_label_text {
    font-weight: 300;
    font-size: 10px;
}

.normal {
    font-weight: 300;
    font-size: 14px;
}

.breif_textarea_main {
    display: block;
    width: -moz-available;
    width: -webkit-fill-available;
    margin: 0.5rem auto;
    border: 1px solid #77b800;
    outline: none;
    background: #dee5ff;
    height: 250px;
    padding: 1rem;
}

.row_two_grid {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.row_two_grid .form_input {
    display: grid;
}

.grid_items {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 48%;
}

.row_two_grid .input_field {
    width: unset;
}

.grid_items label {
    font-size: 11px;
}

.row_three_grid {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 2rem;
}

.check_box label {
    cursor: pointer;
    min-width: unset;
}

.check_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.check_box label {
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
}

.checkbox-item{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.input_checkbox {
    width: 2.5rem;
    height: 2rem;
    background: #dee5ff;
    appearance: none;
    border: 2px solid #888;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}


.input_checkbox:checked {
    background: #4e7bff;
    border-color: #4e7bff;
}

.input_checkbox:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
}

.check_box {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.submit_button {
    width: 100%;
    background-color: #77b800;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    margin-top: 2rem;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    border-radius: 10px;
    border: none;
    outline: none;
}

.lineer {
    margin: 3rem auto;
    background-color: #77b800;
    height: 2px;
}

.lineer_textarea {
    margin: 1.5rem auto;
    background-color: #77b800;
    height: 2px;
}


.loader {
    border: 7px solid #f3f3f3;
    border-radius: 50%;
    border-top: 7px solid #4e7bff;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0px auto;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

.delete-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #b80000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s;
    margin-bottom: 5px;
}



.no-data-message {
    text-align: center !important;
    padding: 20px;
    color: #666;
    font-size: 16px;
}

.no-data-message a.create-new-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.no-data-message a.create-new-link:hover {
    text-decoration: underline;
}



/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

/* Button Styles */
.action-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #77b800;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s;
    margin-bottom: 5px !important;
    border: none;
}

.action-button:hover {
    background-color: #689e00;
}

.href_link {
    color: #77b800;
}


.paginationjs .paginationjs-pages li {
    float: left;
    border: 1px solid #77b800;
    border-right: none;
    list-style: none;
}


.paginationjs .paginationjs-pages li.active>a {
    height: 30px;
    line-height: 30px;
    background: #77b800;
    color: #fff;
}

/* .gender_label{
    margin-top: 12px;
} */


/* Header Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Search Box */
.search-box {
    margin-bottom: 20px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #77b800;
    border-radius: 4px;
    width: 300px;
    outline: none;
}

/* Pagination Container */
.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#table_container {
    width: 100%;
    overflow-x: auto;
}

.zero_gap {
    gap: 0px;
}

.mail_check_boxes .bold_label {
    width: 150px;
    word-wrap: break-word;
}

.equipment .bold_label {
    width: 150px;
}

.work_information label {
    width: 150px;
    display: block;
}

.work_information .input_field {
    width: calc(100% - 150px);
}

.office_input label {
    width: 150px;
}

.office_input .input_field {
    width: calc(100% - 150px);
}

.it_requirements {
    width: 150px;
    margin-bottom: 2rem;
}

.equipment {
    margin-bottom: 1rem;
}

#loader {
    display: none;
    margin-left: 10px;
    width: 18px;
    height: 18px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media only screen and (max-width: 600px) {
    .main_content {
        margin: 2rem 1rem !important;
        padding: 1rem;
    }

    .page-header {
        display: grid;
        gap: 1rem;
        justify-content: center;
    }

    .form_input,
    .row_input_group,
    .all_in_line,
    .row_two_grid,
    .grid_items,
    .row_three_grid {
        display: grid;
    }

    .all_in_line .form_input:nth-child(1) {
        display: flex;
    }

    .grid_items {
        width: 100%;
    }

    .grid_items label {
        font-size: unset;
    }

    .check_box {
        justify-content: unset;
        margin-bottom: 1rem;
    }

    .input_checkbox {
        width: 1.5rem;
        height: 1.5rem;
    }

    .action-button,
    #search-input {
        display: block;
        max-width: 275px;
        margin: 0px auto;
    }

    label {
        width: unset;
    }

    .input_field {
        width: unset;
    }

    #Sendegebiet {
        width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    .work_information .input_field {
        width: unset;
        margin-bottom: 1rem;
    }

    .row_two_grid {
        display: flex;
    }

    .office_input .input_field,
    .office_input label {
        width: unset;
    }

    .equipment .bold_label,
    .it_requirements .bold_label {
        font-weight: 600;
    }

    .breif_textarea_main {
        height: 150px;
    }
}

/*  */