/* Troubleshooting / Common Errors */
.drts-dcf-common-errors {
    margin: 2rem 0;
}

.drts-dcf-intro-text {
    font-size: 1rem;
    color: #4b5563;
    /* gray-600 */
    margin: 0 0 1.5rem 0;
    line-height: 1.625;
}

.drts-dcf-common-errors .drts-display-element-header {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 800;
}

.drts-dcf-common-errors .drts-display-element-header:before {
    content: "";
    display: block;
    height: 1px;
    background-color: #e0e0e0;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 1;
}

.drts-dcf-common-errors .drts-display-element-header span {
    background-color: #fff;
    /* Match your page background */
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    color: #6d6d6d;
    font-weight: 700;
}

.drts-dcf-error-item {
    border: 1px solid #fee2e2;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

button.drts-dcf-error-header {
    width: 100%;
    text-align: left;
    background-color: #fff;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

button.drts-dcf-error-header:hover {
    background-color: #f9fafb;
}

.drts-dcf-error-header-main {
    flex: 1;
}

.drts-dcf-error-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.drts-dcf-error-icon-inline {
    background-color: #ef4444;
    /* red-500 */
    color: #fff;
    border-radius: 9999px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.drts-dcf-troubleshooting-tips {
    margin-top: 1.5rem;
    background: linear-gradient(to right, #fffbeb, #fff7ed);
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    border-radius: 0.375rem;
}

.drts-dcf-tips-header {
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.drts-dcf-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #374151;
}

.drts-dcf-tips-list li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.drts-dcf-tips-list li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: #f59e0b;
    /* orange-400 */
    border-radius: 1px;
    transform: translateY(-50%);
}

.drts-dcf-error-title {
    font-weight: 700;
    color: #111827;
    /* gray-900 */
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.25;
}

.drts-dcf-error-desc {
    font-size: 0.9375rem;
    color: #4b5563;
    /* gray-600 */
    margin: 0;
}

.drts-dcf-error-chevron {
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

button.drts-dcf-error-header[aria-expanded="true"] .drts-dcf-error-chevron {
    transform: rotate(90deg);
}

.drts-dcf-error-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.drts-dcf-error-body[aria-hidden="false"] {
    max-height: 2000px;
}

.drts-dcf-error-body-inner {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.drts-dcf-error-section-title {
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drts-dcf-section-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.drts-dcf-section-icon-green {
    color: #22c55e;
}

.drts-dcf-error-list {
    font-size: 0.9375rem;
    color: #4b5563;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.drts-dcf-error-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.drts-dcf-error-list li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: #f97316;
    /* orange-500 */
    border-radius: 1px;
    transform: translateY(-50%);
}

.drts-dcf-error-solutions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.drts-dcf-error-solution-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #dcfce7;
    border-radius: 0.5rem;
    align-items: center;
}

.drts-dcf-solution-num {
    background-color: #22c55e;
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drts-dcf-solution-text {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.5;
}

.drts-dcf-error-help {
    padding: 0.75rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1e40af;
}

.drts-dcf-error-help p {
    margin: 0;
}
