/**
 * Multi-Timeline Plugin Styles
 */

/* Timeline Container */
.mtp-public-timeline,
.mtp-user-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Timeline Items */
.mtp-timeline-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.mtp-timeline-item h3 {
    margin-top: 0;
    color: #333;
}

/* Audio Container */
.mtp-audio-container {
    margin: 15px 0;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
}

.mtp-audio-container audio {
    width: 100%;
    max-width: 400px;
}

.mtp-audio-type {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

/* Meta Information */
.mtp-meta {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
}

.mtp-date,
.mtp-author,
.mtp-formats {
    margin-right: 15px;
}

/* Header */
.mtp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mtp-header h3 {
    margin: 0;
    flex: 1;
}

.mtp-author,
.mtp-formats {
    font-size: 0.9em;
    color: #666;
}

/* Format Filter */
.mtp-format-filter {
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.mtp-format-filter form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mtp-format-filter select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mtp-format-filter input[type="submit"] {
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Forms */
.mtp-public-form,
.mtp-user-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.mtp-form-group {
    margin-bottom: 15px;
}

.mtp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.mtp-form-group input[type="text"],
.mtp-form-group input[type="url"],
.mtp-form-group textarea,
.mtp-form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mtp-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.mtp-form-group input[type="submit"] {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.mtp-form-group input[type="submit"]:hover {
    background: #005177;
}

/* Messages */
.mtp-error {
    color: #d63638;
    background: #ffebe8;
    border: 1px solid #d63638;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.mtp-success {
    color: #4CAF50;
    background: #E8F5E9;
    border: 1px solid #4CAF50;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Description */
.description {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .mtp-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mtp-header h3 {
        margin-bottom: 10px;
    }
    
    .mtp-format-filter form {
        flex-direction: column;
        gap: 10px;
    }
}
