/*
 Theme Name:   Blocksy Child
 Template:     blocksy
 Version:      1.0
*/
.single-prompt-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Vazirmatn, sans-serif;
}

.prompt-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.prompt-image {
    flex: 1;
    min-width: 250px;
}

.prompt-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.prompt-content {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    white-space: pre-wrap;
    line-height: 1.6;
}

.prompt-text {
    flex: 2;
    min-width: 250px;
    text-align: justify;
}

.prompt-text p {
    margin: 10px 0 5px;
    font-weight: bold;
}

.prompt-text textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: none;
    font-family: Vazirmatn, sans-serif;
    margin-bottom: 10px;
}

.prompt-text button {
    background: #0073e6;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}
.prompt-text button:hover {
    background: #005bb5;
}

.prompt-notes {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.prompt-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.prompt-share span {
    font-weight: bold;
    margin-right: 10px;
}

.prompt-share img {
    width: 32px;
    height: 32px;
    transition: 0.3s;
}

.prompt-share img:hover {
    transform: scale(1.2);
}


/* برای آرشیو prompts */
.prompt-category-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.prompt-category-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
    min-width: 120px;
    text-align: center;
}

.prompt-category-box:hover {
    border-color: #0073e6;
    color: #0073e6;
}

@media (max-width:768px){
    .prompt-category-box {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width:480px){
    .prompt-category-box {
        flex: 1 1 100%;
    }
}
