/* Admin styles for Dynamic llms.txt Generator */

/* Plugin Header */
.dllms-admin-header {
    display: flex;
    align-items: center;
    background: #fff;
    height: 96px;
    padding: 0 32px;
    margin-left: -22px;
    margin-bottom: 20px;
}

.dllms-logo {
    background: url(../img/cw-logo.png) no-repeat center center;
    width: 200px;
    height: 52px;
    background-size: 100%;
}

.dllms-header-text {
    color: #000000;
    margin-left: 15px;
    font-size: 20px;
    position: relative;
    top: 6px;
}

.dllms-admin-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}
.dllms-admin-left {
    width: 60%;
    min-width: 320px;
}
.dllms-admin-right {
    width: 40%;
    min-width: 240px;
}
.dllms-section {
    background: #fff;
    border: 1px solid #d3d3d3;
    margin-bottom: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.dllms-section-heading {
    background: #f5f5f5;
    border-bottom: 1px solid #d3d3d3;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1.1em;
    border-radius: 4px 4px 0 0;
}
.dllms-section-content {
    padding: 16px;
}
.dllms-post-type-item {
    display: flex;
    align-items: center;
    background: #fafbfc;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 8px 12px;
    cursor: move;
    transition: box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.dllms-post-type-item:hover {
    background: #f0f2f5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.dllms-post-type-item label {
    flex: 1;
    margin: 0;
    font-size: 15px;
    cursor: pointer;
}
.dllms-post-type-item .dllms-drag-handle {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background: url('data:image/svg+xml;utf8,<svg fill="%23999" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><circle cx="5" cy="5" r="2"/><circle cx="5" cy="12" r="2"/><circle cx="5" cy="19" r="2"/><circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/><circle cx="19" cy="5" r="2"/><circle cx="19" cy="12" r="2"/><circle cx="19" cy="19" r="2"/></svg>') no-repeat center center;
    opacity: 0.7;
    cursor: move;
}
#dllms-post-types-sortable {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 420px;
}

/* Description text styles */
.dllms-description {
    margin-top: 10px;
    color: #666;
}

.dllms-description-warning {
    color: #c00;
}

/* Status indicator styles */
.dllms-status-error {
    color: #c00;
}

.dllms-status-immediate {
    color: blue;
}

.dllms-status-scheduled {
    color: green;
}

.dllms-status-not-scheduled {
    color: orange;
}

/* Code block styles */
.dllms-code-block {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
    font-family: monospace;
    font-size: 12px;
}

.dllms-code-block .dllms-code-line {
    color: #0066cc;
}

.dllms-code-block .dllms-code-indent {
    margin-left: 10px;
}

/* List styles */
.dllms-list {
    margin-left: 10px;
    margin-bottom: 15px;
}

/* Preview styles */
.dllms-preview {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.4;
}

.dllms-preview .dllms-preview-header {
    color: #0066cc;
}

.dllms-preview .dllms-preview-url {
    margin-left: 12px;
}

.dllms-preview .dllms-preview-separator {
    color: #0066cc;
}

.dllms-preview .dllms-preview-section {
    color: #0066cc;
}

.dllms-preview .dllms-preview-content {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

/* Content display styles */
.dllms-content-display {
    white-space: pre-wrap;
    font-family: monospace;
    margin: 20px;
}

@media (max-width: 900px) {
    .dllms-admin-wrap {
        flex-direction: column;
    }
    .dllms-admin-left, .dllms-admin-right {
        width: 100%;
        min-width: 0;
    }
    
    .dllms-header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .dllms-header-text h1 {
        font-size: 20px;
    }
}
