* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 100%;
}

#search-filter-form {
    display: ruby; 
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.company-actions {
    padding: 1rem;
        /* display: ruby-text; */
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.quick-actions {
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
/*    box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.quick-actions button {
    display: inline-block;
    background-color: #583426;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quick-actions button:hover {
    background-color: #6d4d3c;
}

.back-button {
    color: #583426;
    background-color: #e2ccc4;
    transition: background-color 0.3s;
    display: inline-block;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #ac9288;
}

.tagify__tag {
            background-color: #e0e0e0;
            color: #000;
            border-radius: 3px;
            padding: 3px 7px;
            margin-right: 5px;
            display: inline-block;
        }
        .tagify__tag .tagify__tag-text {
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }


.top-bar {
            background-color: #fff;
            padding: 1rem;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            width: 100%;
        }
        .profile-icon {
            font-size: 1.5rem;
            color: #583426;
            margin-right: 1rem;
        }
        .add-company-btn {
            background-color: #eee8e8;
            color: #583426;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .add-company-btn:hover {
            box-shadow: 0 0 10px rgba(227,213,208,0.5);
        }
        .user-greeting {
            margin-right: 1rem;
        }
.company-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-top: 0px;
}

.company-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h1, h2 {
    color: #583426;
    margin-bottom: 15px;
    font-size: x-large;
}

p {
    margin-bottom: 10px;
}

.tag {
    display: inline-block;
    background-color: #e3d5d0;
    color: #583426;
    padding: 5px 10px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9em;
}

.notification {
    background-color: #e3d5d0;
    color: #583426;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 0.9em;
}

ul {
    list-style-type: none;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
        margin: 0 auto;
    }
    .quick-actions button {
        font-size: 1em;
    }
    .quick-actions {
    text-align: center;
    }
}

@media (min-width: 1024px) {
    .container {
      /*  max-width: 1000px; */
    }
    .company-info {
        display: flex;
        flex-wrap: wrap;
    }
    .company-main {
        flex: 2;
        margin-right: 20px;
    }
    .company-sidebar {
        flex: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}




.jobs-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.job-list {
    list-style-type: none;
    padding: 0;
}

.job-item {
    border-bottom: 1px solid #e3d5d0;
    padding: 15px 0;
}

.job-item:last-child {
    border-bottom: none;
}

.job-item h3 {
    color: #583426;
    margin-bottom: 10px;
}

.view-job-btn {
    display: inline-block;
    background-color: #583426;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.view-job-btn:hover {
    background-color: #6d4d3c;
}

/* Tagify custom styles */
.tagify {
    --tags-border-color: #e3d5d0;
    --tags-hover-border-color: #d1b7ac;
    --tags-focus-border-color: #583426;
    --tag-bg: #f0e6e2;
    --tag-hover: #e3d5d0;
    --tag-text-color: #583426;
    --tag-text-color--edit: #583426;
    --tag-pad: 0.3em 0.5em;
    --tag-inset-shadow-size: 1.1em;
    --tag-invalid-color: #D39; 
    --tag-invalid-bg: #F8EEF2;
    --tag-remove-bg: #583426;
    --tag-remove-btn-color: #fff;
    --tag-remove-btn-bg--hover: #6d4d3c;
    --input-color: #583426;
    --placeholder-color: #bba59b;
}

.tagify__tag {
    margin: 5px;
}





.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #ddd;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #444;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;

    text-align: center;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.modal-content button, .modal-content input[type="text"],.modal-content input[type="number"],.modal-content input[type="time"], .modal-content input[type="password"], .modal-content input[type="email"], .modal-content input[type="url"], .modal-content input[type="tel"], .modal-content textarea, .modal-content select, input[type="file"], .tagify__input {
    margin-bottom: 20px;
    padding: 10px 15px;
}
.tagify__input {
--tags-border-color: #ccc;
}

.ql-editor {
    background-color: white;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="tel"], .modal-content input[type="number"],.modal-content input[type="time"], textarea, select, input[type="file"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
}


.checkbox { display: -webkit-box; }

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*
.form-group {
    margin-bottom: 0px;
    text-align: left;
    padding: 0.5rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    margin-top: 5px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #ff1493;
}

.form-group .error {
    color: red;
    font-size: 12px;
}


.rating {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 16px;
    color: #ccc;
    cursor: pointer;
    margin: 0 5px;
}

.rating input ~ label {
    color: #f5b301;
}

.rating input:unchecked ~ label {
    color: #ddd;
}

.rating input:checked ~ label,
.rating input:hover ~ label,
.rating label:hover ~ label {
    color: #f5b301;
}
*/


.form-group-1line {
            display: flex;
            align-items: baseline;
            margin-bottom: 10px;
        }
        
        
.form-group {
            display: block;
            align-items: baseline;
            margin-bottom: 10px;
        }

        .form-group label {
            margin-right: 10px; /* Space between label and stars */
            display: block;
            text-align: left;
            /* width: 150px;  Fixed width for label alignment */
        }


        .form-group input, .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        /* For ratings, keep label and stars on the same line */
        .rating-group {
            display: flex;
            align-items: baseline;
            margin-bottom: 20px;
        }

        .rating-group label {
            margin-right: 10px;
        }

        /* Rating stars */
        .rating {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .rating label {
            margin: 0 5px;
            cursor: pointer;
            font-size: 20px;
            color: #ddd;
        }

        .rating input {
            display: none;
        }

        /* Hover state */
        .rating label:hover,
        .rating label:hover ~ label {
            color: #f5b301;
        }

        /* Checked state */
        .rating input:checked ~ label {
            color: #ddd;
        }

        .rating input:checked + label,
        .rating input:checked + label ~ label {
            color: #f5b301;
        }

        /* Submit button */
        .button {
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .button:hover {
            background-color: #218838;
        }


textarea #summary {
    height: 250px;
}

.tagify {
    width: 100%;
}

.countdown {
    text-align: right;
    font-size: 12px;
    color: #888;
}

.form-group-inline {
    display: ruby;
    justify-content: space-between;
    gap: 10px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.notification a {
    color: #fff;
    text-decoration: underline;
}