/**
 * Q&A Veterinalia - Shortcodes Styles
 * 
 * @package QAVeterinalia
 * @version 0.3.0 - Modular
 */

/* ============================================================
   PROFESSIONAL PANEL ([qa_panel_profesional])
   ============================================================ */
.qav-questions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qav-question-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qav-question-item h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.qav-question-item h4 a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.qav-question-item h4 a:hover {
    color: #135e96;
    text-decoration: underline;
}

.qav-question-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.qav-question-content {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.qav-answer-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #e5e5e5;
}

.qav-answer-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
    box-sizing: border-box;
}

.qav-answer-form textarea:focus {
    outline: none;
    border-color: #f686a8;
}

.qav-answer-form button,
.qav-answer-form input[type="submit"] {
    margin-top: 10px;
    padding: 10px 25px;
    background-color: #f686a8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.qav-answer-form button:hover,
.qav-answer-form input[type="submit"]:hover {
    background-color: #e5759a;
}

/* ============================================================
   MY QUESTIONS LIST ([qa_mis_preguntas])
   ============================================================ */
.qav-my-questions {
    margin: 20px 0;
}

.qav-my-questions h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #f686a8;
    padding-bottom: 10px;
}

.qav-my-questions .qav-questions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qav-my-questions .qav-question-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qav-my-questions h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.qav-my-questions h4 a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.qav-my-questions h4 a:hover {
    color: #135e96;
    text-decoration: underline;
}

.qav-my-questions .qav-question-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.qav-my-questions .qav-question-meta span {
    margin-right: 15px;
}

.qav-question-date,
.qav-question-topics,
.qav-question-status {
    display: inline-block;
}

.qav-my-questions .qav-question-excerpt {
    color: #444;
    line-height: 1.6;
    margin-top: 10px;
}

/* ============================================================
   MY ANSWERS ([qa_mis_respuestas])
   ============================================================ */
.qav-my-answers {
    margin: 20px 0;
}

.qav-my-answers h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #f686a8;
    padding-bottom: 10px;
}

.qav-answers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qav-answer-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f686a8;
}

.qav-answer-question {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.qav-answer-question a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.qav-answer-question a:hover {
    text-decoration: underline;
}

.qav-answer-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.qav-answer-date {
    font-size: 13px;
    color: #999;
}

.qav-answer-content {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.qav-answer-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.qav-view-question-link {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.qav-view-question-link:hover {
    color: #135e96;
    text-decoration: underline;
}

/* ============================================================
   RECENT Q&A LIST ([qa_lista_recientes])
   ============================================================ */
.qav-recent-list {
    margin: 0;
}

.qav-recent-item {
    margin-bottom: 30px;
}

.qav-question-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.qav-question-title {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.2;
}

.qav-question-title strong {
    font-weight: 600;
}

.qav-question-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qav-question-title a:hover {
    color: #2271b1;
}

.qav-question-description {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
    color: #666666;
    line-height: 1.4;
}

.qav-answer-label {
    margin: 15px 0 10px 10px;
    font-size: 0.9em;
    font-weight: 600;
    color: #666666;
}

.qav-answers-section {
    margin-top: 10px;
}

.qav-answer-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.qav-listing-photo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.qav-listing-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.qav-listing-image:hover {
    transform: scale(1.05);
}

.qav-listing-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.qav-answer-content-box {
    flex: 1;
    background: rgb(242 87 134 / 6%);
    border: 1px solid rgb(242 87 134 / .3);
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.2s ease;
}

.qav-answer-content-box:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.qav-listing-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0c5c5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.qav-listing-name {
    margin: 0;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.3;
}

.qav-listing-name a {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qav-listing-name a:hover {
    color: #135e96;
    text-decoration: underline;
}

.qav-listing-rating {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.85em;
    color: #666666;
    white-space: nowrap;
}

.qav-answer-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444444;
    margin: 0;
}

.qav-item-separator {
    margin: 30px 0;
    border: 0;
    border-top: 2px solid #f0f0f0;
}

/* ============================================================
   POPULAR PROFESSIONALS ([qa_profesionales_populares])
   ============================================================ */
.qav-popular-professionals {
    margin: 20px 0;
}

.qav-popular-professionals h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #f686a8;
    padding-bottom: 10px;
}

.qav-professionals-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.qav-professional-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qav-professional-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.qav-professional-avatar {
    text-align: center;
    margin-bottom: 15px;
}

.qav-professional-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #f686a8;
}

.qav-professional-info {
    text-align: center;
}

.qav-professional-name {
    display: block;
    color: #2271b1;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.qav-professional-specialties {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.qav-professional-specialties strong {
    color: #333;
}

.qav-professional-stats {
    font-size: 14px;
    color: #f686a8;
    font-weight: 600;
}