.capcotwo-seo-page-title {
    position: relative;
    padding-right: 120px;
}

.capcotwo-seo-open-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #409eff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.capcotwo-seo-open-button:hover {
    background: #337ecc;
}

.capcotwo-seo-modal-open {
    overflow: hidden !important;
}

.capcotwo-seo-modal {
    display: none;
    position: fixed;
    z-index: 30000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    padding: 28px;
    box-sizing: border-box;
}

.capcotwo-seo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.capcotwo-seo-dialog {
    width: min(1660px, 96vw);
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.capcotwo-seo-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 24px 16px;
    border-bottom: 1px solid #ebeef5;
}

.capcotwo-seo-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #303133;
}

.capcotwo-seo-header p {
    margin: 0;
    color: #909399;
    font-size: 13px;
}

.capcotwo-seo-close {
    border: 0;
    background: transparent;
    color: #909399;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
}

.capcotwo-seo-message {
    display: none;
    margin: 14px 24px 0;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 13px;
}

.capcotwo-seo-message.success {
    display: block;
    background: #f0f9eb;
    color: #529b2e;
}

.capcotwo-seo-message.error {
    display: block;
    background: #fef0f0;
    color: #c45656;
}

.capcotwo-seo-table-wrap {
    flex: 1;
    overflow: auto;
    padding: 16px 24px;
}

.capcotwo-seo-table {
    width: 100%;
    min-width: 1450px;
    border-collapse: collapse;
    table-layout: fixed;
    color: #606266;
    font-size: 13px;
}

.capcotwo-seo-table th,
.capcotwo-seo-table td {
    border: 1px solid #ebeef5;
    padding: 10px;
    vertical-align: top;
}

.capcotwo-seo-table th {
    background: #f5f7fa;
    color: #303133;
    text-align: left;
    font-weight: 600;
}

.capcotwo-seo-table th:nth-child(1) { width: 110px; }
.capcotwo-seo-table th:nth-child(2) { width: 150px; }
.capcotwo-seo-table th:nth-child(3) { width: 210px; }
.capcotwo-seo-table th:nth-child(4) { width: 300px; }
.capcotwo-seo-table th:nth-child(5) { width: 260px; }
.capcotwo-seo-table th:nth-child(6),
.capcotwo-seo-table th:nth-child(7) { width: 70px; text-align: center; }
.capcotwo-seo-table th:nth-child(8) { width: 80px; }
.capcotwo-seo-table th:nth-child(9) { width: 75px; }

.capcotwo-seo-table input[type="text"],
.capcotwo-seo-table textarea,
.capcotwo-seo-table select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 8px 9px;
    color: #303133;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.capcotwo-seo-table textarea {
    resize: vertical;
    min-height: 72px;
}

.capcotwo-seo-table input:focus,
.capcotwo-seo-table textarea:focus,
.capcotwo-seo-table select:focus {
    border-color: #409eff;
}

.capcotwo-seo-table code {
    display: block;
    padding-top: 8px;
    color: #409eff;
    word-break: break-all;
}

.seo-counter {
    margin-top: 4px;
    color: #a8abb2;
    font-size: 11px;
    text-align: right;
}

.seo-check-cell {
    text-align: center;
    white-space: nowrap;
}

.seo-check-cell label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.capcotwo-seo-loading {
    padding: 40px !important;
    text-align: center;
    color: #909399;
}

.capcotwo-seo-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid #ebeef5;
}

.capcotwo-seo-help {
    margin-right: auto;
    color: #909399;
    font-size: 12px;
}

.capcotwo-seo-cancel,
.capcotwo-seo-save {
    height: 36px;
    min-width: 76px;
    padding: 0 16px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
}

.capcotwo-seo-cancel {
    border: 1px solid #dcdfe6;
    background: #fff;
    color: #606266;
}

.capcotwo-seo-save {
    border: 1px solid #409eff;
    background: #409eff;
    color: #fff;
}

.capcotwo-seo-save:disabled {
    opacity: 0.55;
    cursor: default;
}

/* 관리자 설정 화면의 SEO 바로가기 버튼 */
.capcotwo-seo-setting-button {
    height: 38px;
    margin-right: 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 5px;
    background: #1e9662;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    vertical-align: middle;
}

.capcotwo-seo-setting-button:hover {
    background: #187c51;
}

#capcotwo-seo-menu-item {
    cursor: pointer;
}
