input.error {
    background-color: #e8e6e6 !important;
    border: 1px solid #f86767 !important;
    color: #000;
}

td.field input.error, td.field select.error, tr.errorRow td.field input, tr.errorRow td.field select, td.field textarea.error {
    background-color: #e8e6e6 !important;
    border: 1px solid #f86767 !important;
    color: #000;
    margin: 0;
}

.inputform.error {
    background-color: #e8e6e6 !important;
    border: 1px solid #f86767 !important;
    color: #000;
    margin: 0;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    border-top: 1px solid #ccc;
}

.error {
    display: inline !important;
}

.select2-selection {
    height: auto !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px) !important;
}

.pagination-div {
    margin-right: 15px !important;
}

a {
    cursor: pointer !important;
}

.image-preview-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.img-thumbnail {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.25rem;
    background-color: #fff;
    max-width: 100%;
    height: auto;
}

.summernote-container {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.summernote-container.loaded {
    opacity: 1;
}

.img-photo {
    width: 150px !important;
    height: 150px !important;
    margin-top: 20px;
}

.img-photo-thumbnail {
    width: 100px !important;
    height: 100px !important;
}
.img-photo-avatar {
    width: 50px !important;
    height: 50px !important;
}

.dropdown-above-table {
    position: absolute;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    /* Otros estilos según tus necesidades */
}

body.text-sm {
    font-size: 1.01rem !important;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}


/* Estilos responsive adicionales */
@media (max-width: 768px) {
    .card-body .form-group {
        margin-bottom: 1rem;
    }

    .btn-block {
        width: 100%;
    }

    .breadcrumb {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    h1.m-0 {
        font-size: 1.5rem;
    }

    h3.box-title {
        font-size: 1.25rem;
    }

    .form-control, .custom-file-label {
        font-size: 0.9rem;
    }
}

.detail-service-requests-modal .modal-lg {
    max-width: 900px;
}

.detail-service-requests-modal .modal-header {
    background: linear-gradient(135deg, #6f42c1, #4a2c8c);
    color: white;
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
    position: relative;
}

.detail-service-requests-modal .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-service-requests-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

.detail-service-requests-modal .btn-close:hover {
    opacity: 1;
}

.detail-service-requests-modal .modal-body {
    padding: 0;
}

.detail-service-requests-modal .profile-header {
    background: linear-gradient(135deg, #6f42c1, #4a2c8c);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.detail-service-requests-modal .profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.detail-service-requests-modal .profile-info h3 {
    margin: 0 0 5px;
    font-weight: 700;
    font-size: 1.8rem;
}

.detail-service-requests-modal .profile-info .title {
    opacity: 0.9;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.detail-service-requests-modal .rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-service-requests-modal .rating .star {
    color: #FFD700;
}

.detail-service-requests-modal .rate-value {
    margin-left: 8px;
    font-weight: 500;
}

.detail-service-requests-modal .profile-content {
    padding: 2rem 1.5rem;
}

.detail-service-requests-modal .section-title {
    color: #6f42c1;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-service-requests-modal .section-title i {
    width: 24px;
    text-align: center;
}

.detail-service-requests-modal .skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.detail-service-requests-modal .skill-tag {
    background-color: #e9e3ff;
    color: #6f42c1;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #d9cfff;
}

.detail-service-requests-modal .project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-service-requests-modal .project-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-service-requests-modal .project-list li:last-child {
    border-bottom: none;
}

.detail-service-requests-modal .project-name {
    font-weight: 500;
    color: #333;
}

.detail-service-requests-modal .project-year {
    color: #6c757d;
    font-size: 0.9rem;
}

.detail-service-requests-modal .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.detail-service-requests-modal .contact-item i {
    width: 20px;
    color: #6f42c1;
}

.detail-service-requests-modal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-service-requests-modal .hourly-rate {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6f42c1;
}

.detail-service-requests-modal .hourly-rate span {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}

.detail-service-requests-modal .btn-action {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-service-requests-modal .btn-contact {
    background: linear-gradient(135deg, #6f42c1, #4a2c8c);
    border: none;
    color: white;
}

.detail-service-requests-modal .btn-contact:hover {
    background: linear-gradient(135deg, #5a32a3, #3d2373);
    color: white;
}

.detail-service-requests-modal .btn-save {
    background-color: white;
    border: 2px solid #dee2e6;
    color: #6f42c1;
}

.detail-service-requests-modal .btn-save:hover {
    background-color: #f8f9fa;
    border-color: #6f42c1;
}

.detail-service-requests-modal .badge-availability {
    background-color: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.detail-service-requests-modal .badge-availability-red {
    background-color: #dc6565;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}