/* DA package requirement – Add Website UI */
#wbcom_requirement_question .gpl-da-package-req {
    margin-top: 12px;
}
.gpl-da-pack-act-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.gpl-da-package-req__list-desc {
    width: 80%;
}

#wbcom_requirement_question .gpl-da-package-req__actions {
    margin-bottom: 0;
    width: 20%;
    text-align: right;
}
#wbcom_requirement_question .gpl-da-package-req .motta-alert.gpl-da-package-req__error {
    margin: 12px 0 0;
    padding: 12px 15px;
    width: 100%;
}
#wbcom_requirement_question .gpl-da-package-req .gpl-da-package-req__error .motta-alert__title {
    padding: 0;
}
#wbcom_requirement_question .gpl-da-package-req .gpl-da-package-req__error .motta-alert__title a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}
#wbcom_requirement_question .gpl-da-package-req .gpl-da-package-req__error .motta-alert__title a:hover {
    text-decoration: none;
}
#wbcom_requirement_question .gpl-da-package-req__add-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}
#wbcom_requirement_question .gpl-da-package-req__domain-input {
    flex: 1 1 220px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
}
#wbcom_requirement_question .gpl-da-package-req__group {
    margin-top: 16px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
}
#wbcom_requirement_question .gpl-da-package-req__group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #fafafa;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}
#wbcom_requirement_question .gpl-da-package-req__group-title {
    font-weight: 600;
}
#wbcom_requirement_question .gpl-da-package-req__count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--orange, #F97248);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
}
#wbcom_requirement_question .gpl-da-websites-list {
    margin-top: 25px;
    padding: 0;
}
#wbcom_requirement_question .gpl-da-field-templates {
    display: none !important;
}
#wbcom_requirement_question .gpl-da-website-item {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
#wbcom_requirement_question .gpl-da-website-item:last-child {
    margin-bottom: 0;
}
#wbcom_requirement_question .gpl-da-website-item__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
#wbcom_requirement_question .gpl-da-website-item__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 600;
}
#wbcom_requirement_question .gpl-da-website-item__domain {
    flex: 1;
    font-size: 0.9375rem;
}
#wbcom_requirement_question .gpl-da-website-field {
    margin-bottom: 12px;
}
#wbcom_requirement_question .gpl-da-website-field:last-child {
    margin-bottom: 0;
}
#wbcom_requirement_question .gpl-da-website-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}
#wbcom_requirement_question .gpl-da-website-field input[type="text"],
#wbcom_requirement_question .gpl-da-website-field input[type="url"],
#wbcom_requirement_question .gpl-da-website-field input[type="file"],
#wbcom_requirement_question .gpl-da-website-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
}
#wbcom_requirement_question .gpl-da-backlink-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
#wbcom_requirement_question .gpl-da-backlink-row:last-child {
    margin-bottom: 0;
}
#wbcom_requirement_question .gpl-da-anchor-col {
    min-width: 0;
}
#wbcom_requirement_question .gpl-da-anchor-col input[type="text"],
#wbcom_requirement_question .gpl-da-anchor-col textarea {
    width: 100%;
}
#wbcom_requirement_question .gpl-da-article-docs {
    margin-top: 10px;
}
#wbcom_requirement_question .gpl-da-article-upload__row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}
#wbcom_requirement_question .gpl-da-article-url-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    background: #fff;
    color: #6b7280;
}
#wbcom_requirement_question .gpl-da-article-url-input:focus {
    outline: none;
    border-color: var(--mt-color__primary, #f5a623);
    box-shadow: 0 0 0 1px var(--mt-color__primary, #f5a623);
}
#wbcom_requirement_question .gpl-da-article-upload__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 14px;
    box-shadow: none;
}
#wbcom_requirement_question .gpl-da-article-upload__btn:hover {
    background: #f9fafb;
    color: #374151;
}
#wbcom_requirement_question .gpl-da-article-upload__btn input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
#wbcom_requirement_question .gpl-da-article-file-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #166534;
}
#wbcom_requirement_question .gpl-da-article-file-status__text {
    min-width: 0;
    flex: 1 1 auto;
}
#wbcom_requirement_question .gpl-da-article-file-remove {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 0 2px 8px;
    line-height: 1;
    font-size: 14px;
}
#wbcom_requirement_question .gpl-da-article-file-remove:hover {
    color: #dc2626;
}
#wbcom_requirement_question .gpl-da-article-file-remove.hidden {
    display: none !important;
}
#wbcom_requirement_question .gpl-da-article-file-status:not(.hidden) {
    display: flex !important;
}
#wbcom_requirement_question .gpl-da-article-file-status.hidden {
    display: none !important;
}
#wbcom_requirement_question .gpl-da-website-field--article .gpl-da-field-clone {
    min-width: 0;
}
#wbcom_requirement_question .gpl-da-backlink-row textarea,
#wbcom_requirement_question .gpl-da-website-field textarea {
    min-height: 88px;
    resize: vertical;
}
@media (max-width: 640px) {
    #wbcom_requirement_question .gpl-da-backlink-row {
        grid-template-columns: 1fr;
    }
}