.yhw-pptx-container {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.pptx-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.pptx-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.pptx-header p {
    font-size: 1.1em;
    opacity: 0.95;
}

.pptx-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
}

@media (max-width: 768px) {
    .pptx-content {
        grid-template-columns: 1fr;
    }
}

.pptx-left, .pptx-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pptx-left h2, .pptx-right h2 {
    font-size: 1.5em;
    color: #333;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    margin: 0;
}

.pptx-left label, .pptx-right label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95em;
    margin-top: 15px;
}

.pptx-left label:first-child, .pptx-right label:first-child {
    margin-top: 0;
}

.pptx-left input,
.pptx-left textarea,
.pptx-left select,
.pptx-right input,
.pptx-right select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95em;
    font-family: inherit;
    transition: all 0.3s ease;
}

.pptx-left input:focus,
.pptx-left textarea:focus,
.pptx-left select:focus,
.pptx-right input:focus,
.pptx-right select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.pptx-left textarea {
    resize: vertical;
    min-height: 150px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.pptx-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.pptx-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #999;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    width: auto;
}

.pptx-tab-btn:hover {
    color: #667eea;
}

.pptx-tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.pptx-tab-content {
    display: none;
}

.pptx-tab-content.active {
    display: block;
}

.pptx-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.pptx-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pptx-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

.pptx-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pptx-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
    margin-top: 10px;
}

.pptx-btn-secondary:hover {
    background: #efefef;
}

.pptx-status {
    padding: 14px;
    border-radius: 6px;
    display: none;
    animation: pptxSlideIn 0.3s ease;
    margin-top: 20px;
}

.pptx-status.show {
    display: block;
}

.pptx-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pptx-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pptx-status.loading {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

@keyframes pptxSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pptx-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pptx-color-option {
    cursor: pointer;
    padding: 12px;
    border: 3px solid transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 600;
    color: white;
    font-size: 0.85em;
}

.pptx-color-option:hover {
    transform: scale(1.05);
}

.pptx-color-option.selected {
    border-color: #333;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #333;
}

.pptx-info-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

.pptx-info-box strong {
    display: block;
    margin-bottom: 8px;
}

.pptx-info-box code {
    background: #e8e8e8;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.85em;
}

.pptx-info-box a {
    color: #667eea;
    text-decoration: none;
}

.pptx-info-box a:hover {
    text-decoration: underline;
}

small {
    font-size: 0.85em;
}
