/* General styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Input group styles */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Button styles */
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.generate-btn {
    background-color: #3498db;
}

.refresh-btn {
    background-color: #2ecc71;
}

.refresh-btn:hover {
    background-color: #27ae60;
}

/* Error and logs styles */
.error {
    color: #e74c3c;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #fde8e7;
    display: none;
}

#logs {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-family: monospace;
    white-space: pre-wrap;
    display: none;
}

/* Prompt card styles */
.prompt-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.prompt-content {
    flex: 1;
}

.prompt-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Video status styles */
.video-status {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-pending {
    background-color: #f1c40f;
    animation: pulse 1.5s infinite;
}

.status-completed {
    background-color: #2ecc71;
}

.status-failed {
    background-color: #e74c3c;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Video container styles */
.video-container {
    margin-top: 20px;
    display: none;
}

.video-container video {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
}

/* Brand persona section styles */
.brand-persona-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.persona-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .prompt-card {
        flex-direction: column;
    }
    
    .prompt-image {
        width: 100%;
        height: 300px;
    }
    
    .container {
        padding: 10px;
    }
    
    body {
        padding: 10px;
    }
} 