/* Main Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

h1, h2, h3 {
    color: #444;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

/* Note style */
.note {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

/* Question rows */
.questions-container {
    margin-bottom: 15px;
}

.question-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.question-row input {
    flex: 1;
    margin-right: 10px;
}

.remove-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background-color: #d32f2f;
}

/* Color picker styles */
.color-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.color-picker {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.color {
    width: 100px;
    margin-right: 10px;
}

/* Progress bar */
.progress-bar-container {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 20px;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s;
}

/* Image preview section */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.image-preview > div {
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px;
    background-color: white;
}

.image-preview img {
    max-width: 300px;
    max-height: 375px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.image-preview a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.image-preview a:hover {
    background-color: #0056b3;
}

/* Slide previews */
#slidePreviews {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}

#slidePreviews > div {
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Debug section */
#debugContainer {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    padding: 15px;
}

#output {
    background-color: #2b2b2b;
    color: #f8f8f8;
    padding: 15px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    border-radius: 4px;
    white-space: pre-wrap;
    overflow-x: auto;
    margin-bottom: 15px;
}

.debug-controls {
    display: flex;
    gap: 10px;
}

.debug-controls button {
    background-color: #6c757d;
    font-size: 14px;
}

.debug-controls button:hover {
    background-color: #5a6268;
}

/* Error styling */
.error {
    color: #dc3545;
    font-weight: bold;
}

.success {
    color: #28a745;
}

.warning {
    color: #ffc107;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .image-preview img {
        max-width: 100%;
    }
} 