/* Services list styles */
.services-list_stngs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item_stngs {
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    position: relative;
}

.service-header_stngs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.service-title_stngs {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.service-price_stngs {
    display: flex;
    align-items: baseline;
    gap: 4px;
    background-color: #f1f3f4;
    padding: 8px 12px;
    border-radius: 6px;
}

.price-currency_stngs {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

.price-amount_stngs {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.price-unit_stngs {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

.service-description_stngs {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Rich-text output (Quill HTML rendered via sanitize_html) */
.service-description_stngs p,
.service-description_stngs li,
.service-description_stngs blockquote {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.service-description_stngs p { margin: 0 0 8px; }
.service-description_stngs ul, .service-description_stngs ol { margin: 0 0 8px; padding-left: 20px; }
.service-description_stngs li { margin-bottom: 4px; }
.service-description_stngs h1, .service-description_stngs h2, .service-description_stngs h3 {
    margin: 12px 0 6px; font-size: 16px; font-weight: 600; color: #1a1a1a;
}
.service-description_stngs a { color: #007bff; }
.service-description_stngs blockquote {
    border-left: 3px solid #e1e5e9; padding-left: 12px; color: #999; margin: 8px 0;
}

/* Quill alignment + UI-marker classes leak into stored HTML — support/hide them */
.service-description_stngs .ql-align-center { text-align: center; }
.service-description_stngs .ql-align-right { text-align: right; }
.service-description_stngs .ql-align-justify { text-align: justify; }
.service-description_stngs .ql-ui { display: none; }

/* Quill stores list type on li[data-list]; <ol> alone renders numbers */
.service-description_stngs li[data-list="ordered"] { list-style-type: decimal; }
.service-description_stngs li[data-list="bullet"] { list-style-type: disc; }

/* Quill editor: keep sizes consistent — global p { font-size:20px } in
   tooplate-gotto-job.css otherwise inflates paragraphs vs list items */
#serviceDescription.ql-container {
    font-size: 14px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
#serviceDescription .ql-editor p,
#serviceDescription .ql-editor li,
#serviceDescription .ql-editor blockquote {
    font-size: inherit;
    font-weight: normal;
    color: #1a1a1a;
}
#serviceDescription .ql-editor h1,
#serviceDescription .ql-editor h2,
#serviceDescription .ql-editor h3 {
    color: #1a1a1a;
}

/* Edit button styles */
.service-edit-btn_stngs {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.service-item_stngs:hover .service-edit-btn_stngs {
    opacity: 1;
    visibility: visible;
}

/* Delete button styles */
.service-delete-btn_stngs {
    position: absolute;
    top: 10px;
    right: 46px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.service-item_stngs:hover .service-delete-btn_stngs {
    opacity: 1;
    visibility: visible;
}

.service-delete-btn_stngs:hover {
    color: #dc2626;
}

/* Delete confirmation modal */
.delete-confirm_stngs {
    text-align: center;
    padding: 16px 0 8px;
}

.delete-confirm_stngs .pi-trash {
    font-size: 40px;
    color: #dc2626;
}

.delete-confirm_stngs p {
    font-size: 15px;
    color: #1a1a1a;
    margin: 14px 0 0;
}

.delete-btn_stngs {
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.delete-btn_stngs:hover {
    background-color: #b91c1c;
}

/* Empty state */
.no-services_stngs {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-services_stngs p {
    font-size: 16px;
    margin: 0;
}

/* Price Unit input group */
.price-unit-input-group_stngs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-unit-input-group_stngs .form-select_stngs {
    flex: 1;
}

.add-price-unit-btn_stngs {
    width: 40px;
    height: 40px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.add-price-unit-btn_stngs:hover {
    background-color: #f1f3f4;
    border-color: #007bff;
}

.add-price-unit-btn_stngs i {
    color: #007bff;
    font-size: 16px;
}

/* Add Price Unit form */
.add-price-unit-form_stngs {
    margin-top: 12px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.new-price-unit-input-group_stngs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.new-price-unit-input-group_stngs input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
}

.new-price-unit-input-group_stngs input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.save-price-unit-btn_stngs,
.cancel-price-unit-btn_stngs {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-price-unit-btn_stngs {
    background-color: #007bff;
    color: white;
}

.save-price-unit-btn_stngs:hover {
    background-color: #0056b3;
}

.cancel-price-unit-btn_stngs {
    background-color: #6c757d;
    color: white;
}

.cancel-price-unit-btn_stngs:hover {
    background-color: #5a6268;
}

/* Add service button in header */
.settings-header_stngs {
    position: relative;
}

.add-service-btn_stngs {
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.add-service-btn_stngs:hover {
    background-color: #007bff;
    border-color: #007bff;
}

.add-service-btn_stngs:hover i {
    color: white;
}

.add-service-btn_stngs i {
    color: #007bff;
    font-size: 18px;
    transition: color 0.2s ease;
}

/* Service title group (title + provider badge) */
.service-title-group_stngs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Provider badge in service list */
.service-provider_stngs {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    background-color: #f1f3f4;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Warning when no verified providers */
.no-provider-warning_stngs {
    margin-left: auto;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.no-provider-warning_stngs i {
    font-size: 16px;
}

/* Service type selector (Request / Subscription) — visual only,
   styled like the ttf-fieldset groups in TaskTrackerFilterMoreForm */
.service-type-fieldset_stngs {
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 12px;
    margin: 0;
}

.service-type-fieldset_stngs legend {
    padding: 0 8px;
    font-weight: bold;
    font-size: 0.875rem;
    color: #1a1a1a;
}

.service-type-options_stngs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-type-option_stngs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
    user-select: none;
}

.service-type-option_stngs input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    background-color: white;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-type-option_stngs:hover input[type="radio"] {
    border-color: #007bff;
}

.service-type-option_stngs input[type="radio"]:checked {
    background-color: #007bff;
    border-color: #007bff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* Toggle row (Survey before request) */
.service-toggle-row_stngs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #1a1a1a;
}

/* Survey questions list */
.survey-questions_stngs {
    margin-top: 12px;
}

.survey-question-list_stngs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.add-survey-question-btn_stngs {
    margin-top: 8px;
}

