/* LearnDash Journal Stylesheet */
.ld-journal {
    font-family: 'Roboto', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.ld-journal h3 {
    color: #485656;
    font-size: 24px;
    margin-bottom: 20px;
}

.ld-journal-prompts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ld-journal-prompt-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.ld-journal-prompt-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ld-journal-prompt-card.completed .ld-journal-prompt-header {
    background-color: #f0f7f0;
}

.ld-journal-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.ld-journal-prompt-title {
    font-weight: bold;
    color: #485656;
}

.ld-journal-checkmark {
    color: #2ecc71;
    font-weight: bold;
    margin-left: 10px;
}

.ld-journal-toggle {
    font-size: 18px;
    color: #485656;
}

.ld-journal-prompt-content {
    padding: 15px;
}

.ld-journal-reply {
    margin-bottom: 15px;
}

.ld-journal-reply-text {
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
}

.ld-journal-form textarea.ld-journal-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
}

.ld-journal-form input[type="file"] {
    margin-bottom: 10px;
}

.ld-journal-button {
    padding: 10px 20px;
    background-color: #485656;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.ld-journal-button:hover {
    background-color: #3a4646;
}

.ld-journal-delete {
    padding: 5px 10px;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 5px;
}

.ld-journal-delete:hover {
    background-color: #cc0000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ld-journal {
        padding: 10px;
    }

    .ld-journal h3 {
        font-size: 20px;
    }

    .ld-journal-prompt-card {
        padding: 10px;
    }

    .ld-journal-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .ld-journal-delete {
        font-size: 12px;
        padding: 4px 8px;
    }
}