/**
 * ========================================
 * PULGUERO MANAGER - Component Styles
 * ========================================
 * Styles for Pulguero posts management component
 */

/* ========================================
   PULGUERO POSTS DISPLAY
   ======================================== */

/* Filter Buttons */
.pulguero-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.pulguero-filters::-webkit-scrollbar {
    height: 4px;
}

.pulguero-filters::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    background: #f9fafb;
    border-color: #10b981;
    color: #10b981;
}

.filter-btn.active {
    background: linear-gradient(135deg, #4ADE80, #10b981);
    border-color: #10b981;
    color: white;
}

/* Posts List Container */
#pulguero-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Post Card - Horizontal Layout (List View) */
.pulguero-post-card {
    display: flex;
    gap: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.pulguero-post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Post Thumbnail */
.post-thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    background: #f3f4f6;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #9ca3af;
}

/* Post Content */
.post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Post Header (title + badge) */
.post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.post-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

/* Status Badges */
.post-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.post-badge-active {
    background: #d1fae5;
    color: #065f46;
}

.post-badge-sold {
    background: #f3f4f6;
    color: #6b7280;
}

.post-badge-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* Post Price & Location */
.post-price {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
    margin: 2px 0;
}

.post-location {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Post Stats */
.post-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-stat-icon {
    font-size: 14px;
}

.expiration-warning {
    color: #f59e0b;
    font-weight: 600;
}

.expiration-danger {
    color: #dc2626;
    font-weight: 700;
}

/* Post Actions */
.post-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-action-btn:hover {
    transform: translateY(-1px);
}

.post-action-btn:active {
    transform: translateY(0);
}

/* Edit Button */
.btn-edit {
    background: #eff6ff;
    color: #1e40af;
}

.btn-edit:hover {
    background: #dbeafe;
}

/* Mark Sold Button */
.btn-mark-sold {
    background: #f0fdf4;
    color: #15803d;
}

.btn-mark-sold:hover {
    background: #dcfce7;
}

/* Delete Button */
.btn-delete {
    background: #fef2f2;
    color: #dc2626;
}

.btn-delete:hover {
    background: #fee2e2;
}

/* Republish Button */
.btn-republish {
    background: #fef3c7;
    color: #92400e;
}

.btn-republish:hover {
    background: #fde68a;
}

/* Loading State */
.pulguero-loading {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .post-thumbnail {
        width: 80px;
        height: 80px;
    }

    .post-title {
        font-size: 14px;
    }

    .post-price {
        font-size: 15px;
    }

    .post-stats {
        font-size: 11px;
        gap: 8px;
    }

    .post-actions {
        gap: 6px;
    }

    .post-action-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .pulguero-post-card {
        padding: 10px;
    }
}

/* ========================================
   POST DETAIL MODAL
   ======================================== */

.post-detail-images {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.post-detail-images img {
    width: 100%;
    height: auto;
    display: block;
}

.post-detail-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.post-detail-images-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.post-detail-images-grid img:hover {
    transform: scale(1.05);
}

.post-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
}

.post-detail-description {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
}

.post-detail-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.post-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.post-detail-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-detail-stat-label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-detail-stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* ========================================
   POST DETAIL MODAL - NEW DESIGN
   ======================================== */

.post-detail-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header with User Info */
.post-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.post-detail-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
    transition: opacity 0.2s;
}

.post-detail-user-info:hover {
    opacity: 0.7;
}

.post-detail-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ADE80, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

.post-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-detail-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* Modal Body */
.post-detail-body {
    padding: 0;
}

/* Image Carousel */
.post-detail-carousel {
    position: relative;
    width: 100%;
    background: #000;
}

.post-detail-image-container {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-detail-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    color: #111827;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 16px;
}

.carousel-btn-next {
    right: 16px;
}

.carousel-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

/* Carousel Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   IMAGE LIGHTBOX
   ======================================== */

.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-image-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-btn-prev {
    left: 32px;
}

.lightbox-btn-next {
    right: 32px;
}

.lightbox-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.lightbox-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10002;
}

.lightbox-dots .carousel-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
}

.lightbox-dots .carousel-dot.active {
    background: white;
    width: 28px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 32px;
    }

    .lightbox-btn {
        width: 48px;
        height: 48px;
    }

    .lightbox-btn-prev {
        left: 16px;
    }

    .lightbox-btn-next {
        right: 16px;
    }

    .lightbox-image-container {
        max-width: 95vw;
        max-height: 85vh;
    }

    .lightbox-image-container img {
        max-height: 85vh;
    }

    .lightbox-dots {
        bottom: 24px;
    }
}

/* Post Info Section */
.post-detail-info {
    padding: 20px;
}

/* Title Container with Share Button */
.post-title-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    flex: 1;
}

/* Share Icon (next to title) */
.share-post-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.share-post-icon:hover {
    background: #f3f4f6;
    color: #3b82f6;
    transform: scale(1.1);
}

.share-post-icon:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .post-detail-image-container {
        height: 300px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   FILTER LOADING ANIMATIONS
   ======================================== */

/* Fade animations */
.fade-out {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.filter-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #10b981;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ========================================
   POST DETAIL FOOTER (MESSAGE BUTTON)
   ======================================== */

.post-detail-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background: white;
    position: sticky;
    bottom: 0;
}

.btn-send-message {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-send-message:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-send-message:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-send-message svg {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .btn-send-message {
        font-size: 14px;
        padding: 12px 16px;
    }

    .btn-send-message span {
        font-size: 14px;
    }
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast svg {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(100px);
    }

    .toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* ========================================
   PULGUERO MODAL FEED - Scrollable Stack
   ======================================== */

.pulguero-modal-feed {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow: hidden;
}

.pulguero-modal-feed.show {
    display: block;
}

/* Close Button */
.pulguero-modal-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.2s;
}

.pulguero-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Scrollable Container */
.pulguero-modal-scroll {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior: contain;
}

.pulguero-modal-scroll::-webkit-scrollbar {
    display: none;
}

/* Individual Post Card in Modal */
.pulguero-modal-card {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
}

/* Card Header (User Info) */
.pulguero-modal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.pulguero-modal-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pulguero-modal-user-info:hover {
    opacity: 0.7;
}

.pulguero-modal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ADE80, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

.pulguero-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Story ring for avatar */
.pulguero-modal-avatar.has-story {
    padding: 3px;
    background: linear-gradient(45deg, #22c55e, #16a34a, #15803d);
}

.pulguero-modal-avatar.has-story img,
.pulguero-modal-avatar.has-story span {
    border: 2px solid white;
    border-radius: 50%;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

.pulguero-modal-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Save/Guardar button in modal header */
.pulguero-modal-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: #6b7280;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
    flex-shrink: 0;
}

.pulguero-modal-save-btn:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.pulguero-modal-save-btn.saved {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.pulguero-modal-save-btn.saved svg {
    fill: #10b981;
}

.pulguero-save-text {
    font-size: 12px;
    white-space: nowrap;
}

/* Card Image Section */
.pulguero-modal-card-images {
    flex: 1;
    min-height: 0;
    background: #000;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pulguero-modal-card-images::-webkit-scrollbar {
    display: none;
}

.pulguero-modal-card-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    scroll-snap-align: center;
}

/* Image placeholder */
.pulguero-modal-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 64px;
}

/* Image Indicators */
.pulguero-modal-indicators {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.pulguero-modal-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.pulguero-modal-indicator.active {
    width: 20px;
    border-radius: 3px;
    background: white;
}

/* Card Info Section */
.pulguero-modal-card-info {
    padding: 16px;
    background: white;
    flex-shrink: 0;
}

.pulguero-modal-price {
    font-size: 26px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 6px;
}

.pulguero-modal-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pulguero-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    flex: 1;
    margin: 0;
}

.pulguero-modal-share-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.pulguero-modal-share-btn:hover {
    background: #f3f4f6;
    color: #3b82f6;
}

.pulguero-modal-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 10px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pulguero-modal-location-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.pulguero-modal-expiration {
    font-size: 13px;
}

.pulguero-modal-expiration.warning {
    color: #f59e0b;
}

.pulguero-modal-expiration.danger {
    color: #dc2626;
}

/* Card Footer (Message Button) */
.pulguero-modal-card-footer {
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: white;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.pulguero-modal-message-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.pulguero-modal-message-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.pulguero-modal-message-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pulguero-modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .pulguero-modal-card-header {
        padding: 12px 14px;
    }

    .pulguero-modal-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .pulguero-modal-card-info {
        padding: 14px;
    }

    .pulguero-modal-price {
        font-size: 24px;
    }

    .pulguero-modal-title {
        font-size: 16px;
    }

    .pulguero-modal-indicators {
        top: 60px;
    }
}
