.fpm-list-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 100%;
    margin: 20px 0;
}

/* ============================================
   STANDARDIZED UI COMPONENTS
   ============================================ */

.fpm-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fpm-card:hover {
    box-shadow: 0 15px 50px rgba(233, 30, 140, 0.08);
    transform: translateY(-2px);
}

.fpm-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: -30px -30px 25px -30px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    border-bottom: 1px solid #fce4f2;
}

.fpm-header-icon {
    width: 45px;
    height: 45px;
    background: #FEF5FB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #E91E8C;
    flex-shrink: 0;
}

.fpm-header-text {
    display: flex;
    flex-direction: column;
}

.fpm-header-text h3 {
    margin: 0 0 2px;
    font-size: 1.25em;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.fpm-header-text p {
    margin: 0;
    color: #888;
    font-size: 0.9em;
    font-weight: 400;
}

.fpm-btn-pink {
    background: #E91E8C !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    box-shadow: 0 2px 6px rgba(233, 30, 140, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.fpm-btn-pink:hover {
    background: #D01A7B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.35) !important;
    color: #fff !important;
}

.fpm-btn-pink:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.fpm-btn-secondary {
    background: #fff !important;
    color: #E91E8C !important;
    border: 2px solid #E91E8C !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.fpm-btn-secondary:hover {
    background: #E91E8C !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.2) !important;
}

/* Override Elementor global button styles */
.fpm-product-list-wrapper .button,
.fpm-product-list-wrapper #fpm-add-row,
.fpm-product-list-wrapper #fpm-save-list-name,
.fpm-product-list-wrapper #fpm-copy-link {
    background: #E91E8C !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: 0 2px 6px rgba(233, 30, 140, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-height: auto !important;
    line-height: 1.3 !important;
    height: auto !important;
}

.fpm-product-list-wrapper .button:hover,
.fpm-product-list-wrapper #fpm-add-row:hover,
.fpm-product-list-wrapper #fpm-save-list-name:hover,
.fpm-product-list-wrapper #fpm-copy-link:hover {
    background: #D01A7B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.35) !important;
}

.fpm-product-list-wrapper .button.button-secondary,
.fpm-product-list-wrapper #fpm-suggest-gift {
    background: #fff !important;
    color: #E91E8C !important;
    border: 2px solid #E91E8C !important;
}

.fpm-product-list-wrapper .button.button-secondary:hover,
.fpm-product-list-wrapper #fpm-suggest-gift:hover {
    background: #E91E8C !important;
    color: #fff !important;
}

/* Copy button icon only */
.fpm-product-list-wrapper #fpm-copy-link {
    padding: 8px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
}

.fpm-product-list-wrapper #fpm-copy-link .dashicons {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
}

.fpm-header-row,
.fpm-product-row {
    display: grid;
    grid-template-columns: 40px 3fr 1fr 1fr 80px;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.fpm-header-row {
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #f0f0f0;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.8px;
    background: #fafafa;
    padding: 12px 10px !important;
    border-radius: 8px 8px 0 0;
}

.fpm-product-row {
    background: #fff;
    transition: all 0.3s ease;
    padding: 12px 10px !important;
}

.fpm-product-row:hover {
    background: #fafafa;
}

.fpm-drag-handle {
    cursor: move;
    color: #ddd;
    text-align: center;
    transition: all 0.3s ease;
}

.fpm-drag-handle:hover {
    color: #E91E8C;
    transform: scale(1.1);
}

.fpm-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #f0f0f0 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: #f9f9f9 !important;
    color: #333 !important;
}

.fpm-input:focus {
    border-color: #E91E8C !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1) !important;
    background: #fff !important;
}

.fpm-input::placeholder {
    color: #999 !important;
}

.fpm-field-error {
    color: #E91E8C !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
    display: block !important;
}

.fpm-input-error {
    border-color: #E91E8C !important;
    background: #fff0f7 !important;
}

.fpm-loading-indicator {
    font-size: 13px !important;
    color: #888 !important;
    margin-top: 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.fpm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.fpm-btn-icon {
    background: #E91E8C !important;
    border: none !important;
    cursor: pointer !important;
    color: #fff !important;
    padding: 6px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(233, 30, 140, 0.3) !important;
}

.fpm-btn-icon:hover {
    background: #D01A7B !important;
    transform: scale(1.08) !important;
    box-shadow: 0 3px 8px rgba(233, 30, 140, 0.4) !important;
}

.fpm-btn-icon .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

.fpm-total-container {
    margin-top: 20px;
    text-align: right;
    font-weight: 700;
    font-size: 1.3em;
    padding: 20px;
    border-top: 3px solid #f0f0f0;
    background: linear-gradient(135deg, #fff 0%, #fef5fb 100%);
    border-radius: 8px;
    color: #E91E8C;
}

.fpm-total-container #fpm-total-amount {
    font-size: 1.2em;
    color: #E91E8C;
}

/* Loading animation */
@keyframes fpm-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fpm-btn-icon .dashicons.spin {
    animation: fpm-spin 1s linear infinite;
}

/* ============================================
   PUBLIC VIEW STYLES
   ============================================ */
.fpm-public-wishlist-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.fpm-public-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    border-radius: 12px;
    border: 2px solid #fce4f2;
}

.fpm-list-title {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #E91E8C;
    font-weight: 700;
}

.fpm-list-owner {
    color: #666;
    font-style: italic;
    margin: 0;
    font-size: 1em;
}

.fpm-public-header-row {
    grid-template-columns: 3fr 1fr 120px !important;
}

.fpm-public-row {
    grid-template-columns: 40px 3fr 1fr 120px !important;
}

/* Checkbox styles */
.fpm-checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpm-gift-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #E91E8C;
}

.fpm-quantity-available {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

/* Buy selected button */
.fpm-buy-selected-container {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    border-radius: 12px;
    border: 2px solid #fce4f2;
}

.fpm-buy-selected-btn {
    background: #E91E8C !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(233, 30, 140, 0.3) !important;
}

.fpm-buy-selected-btn:hover:not(:disabled) {
    background: #D01A7B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(233, 30, 140, 0.4) !important;
}

.fpm-buy-selected-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.fpm-product-info {
    padding: 5px 0;
}

.fpm-product-title {
    font-weight: 500;
    color: #333;
}

.fpm-product-price {
    font-weight: 700;
    color: #E91E8C;
    font-size: 1.1em;
}

.fpm-display-text {
    color: #333;
    font-weight: 500;
}

/* ============================================
   REGALOS RECIBIDOS PAGE
   ============================================ */
.fpm-regalos-recibidos-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.fpm-total-recibido {
    background: linear-gradient(135deg, #E91E8C 0%, #D01A7B 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.35);
    position: relative;
    overflow: hidden;
}

.fpm-total-recibido::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.fpm-total-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.fpm-total-recibido h3 {
    margin: 0 0 8px 0;
    font-size: 1em;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fpm-total-amount {
    font-size: 3.5em;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Stats Row */
.fpm-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.fpm-stat-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.fpm-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 140, 0.15);
    border-color: #fce4f2;
}

.fpm-stat-icon {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.fpm-stat-number {
    font-size: 2em;
    font-weight: 800;
    color: #E91E8C;
    margin-bottom: 5px;
}

.fpm-stat-label {
    font-size: 0.85em;
    color: #666;
    font-weight: 500;
}

/* Gift Cards */
.fpm-gifts-cards {
    display: none;
}

.fpm-gift-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.fpm-gift-card:hover {
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.15);
    border-color: #fce4f2;
}

.fpm-gift-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    border-bottom: 1px solid #fce4f2;
}

.fpm-gift-date {
    font-size: 0.85em;
    color: #888;
}

.fpm-gift-amount {
    font-weight: 700;
    color: #E91E8C;
    font-size: 1.1em;
}

.fpm-gift-card-body {
    padding: 16px;
}

.fpm-gift-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.fpm-gift-buyer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9em;
}

.fpm-buyer-icon {
    font-size: 1em;
}

/* Empty State */
.fpm-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.fpm-empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.8;
}

.fpm-empty-state h4 {
    font-size: 1.4em;
    color: #333;
    margin: 0 0 10px;
}

.fpm-empty-state p {
    color: #666;
    margin: 0;
}

/* Amount cell highlight */
.fpm-amount-cell {
    font-weight: 600;
    color: #E91E8C !important;
}

/* Desktop only table */
.fpm-desktop-only {
    display: table;
}

.fpm-gifts-list {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.fpm-gifts-list h3 {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    color: #333;
}

.fpm-gifts-table {
    width: 100%;
    border-collapse: collapse;
}

.fpm-gifts-table thead {
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
}

.fpm-gifts-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #E91E8C;
    border-bottom: 2px solid #fce4f2;
    font-size: 0.9em;
}

.fpm-gifts-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.fpm-gifts-table tbody tr:hover {
    background: #fafafa;
}

.fpm-gifts-table tbody tr:last-child td {
    border-bottom: none;
}

.fpm-add-to-cart-btn {
    display: inline-block;
    padding: 8px 18px !important;
    background: #E91E8C !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    text-align: center;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(233, 30, 140, 0.25) !important;
    border: none !important;
    font-size: 13px !important;
}

.fpm-add-to-cart-btn:hover {
    background: #D01A7B !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(233, 30, 140, 0.35) !important;
}

.fpm-empty-message,
.fpm-error-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.fpm-error-message {
    color: #d63638;
}

/* Share link section */
.fpm-share-section {
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    border: 2px solid #fce4f2;
}

.fpm-share-section p {
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.fpm-share-link input[readonly] {
    background: #fff !important;
    border-color: #fce4f2 !important;
}

.fpm-list-name-section label {
    color: #333;
    font-size: 15px;
}

.fpm-list-header {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
}

/* ============================================
   SUGGESTIONS MODAL
   ============================================ */
.fpm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fpm-fadeIn 0.3s ease;
}

@keyframes fpm-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fpm-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fpm-slideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

.fpm-modal-content {
    background: #fff;
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fpm-slideUp 0.4s ease;
}

.fpm-modal-header {
    padding: 28px 32px;
    background: linear-gradient(135deg, #E91E8C 0%, #D01A7B 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fpm-modal-header h3 {
    margin: 0;
    font-size: 1.6em;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fpm-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-family: Arial, sans-serif;
}

.fpm-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.fpm-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    background: #fafafa;
}

.fpm-modal-body::-webkit-scrollbar {
    width: 8px;
}

.fpm-modal-body::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.fpm-modal-body::-webkit-scrollbar-thumb {
    background: #E91E8C;
    border-radius: 10px;
}

.fpm-modal-body::-webkit-scrollbar-thumb:hover {
    background: #D01A7B;
}

.fpm-suggestions-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fpm-category {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.fpm-category:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.fpm-category-title {
    margin: 0 0 18px 0;
    font-size: 1.15em;
    color: #333;
    font-weight: 700;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fpm-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fpm-suggestion-item {
    background: #E91E8C;
    border: none;
    padding: 9px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(233, 30, 140, 0.3);
}

.fpm-suggestion-item:hover {
    background: #D01A7B;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .fpm-stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fpm-stat-card {
        padding: 20px 15px;
    }

    .fpm-stat-number {
        font-size: 1.6em;
    }

    .fpm-total-amount {
        font-size: 2.5em;
    }

    .fpm-desktop-only {
        display: none !important;
    }

    .fpm-gifts-cards {
        display: block;
    }

    .fpm-gifts-list {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .fpm-header-row {
        display: none;
    }

    .fpm-product-row {
        grid-template-columns: 1fr !important;
        gap: 10px;
        border: 1px solid #eee;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 8px;
    }

    .fpm-drag-handle {
        display: none;
    }

    .fpm-public-row .fpm-actions {
        margin-top: 10px;
    }

    .fpm-add-to-cart-btn {
        width: 100%;
    }

    .fpm-share-link {
        flex-direction: column;
    }

    .fpm-list-name-section>div {
        flex-direction: column;
    }

    /* Modal responsive */
    .fpm-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 20px;
    }

    .fpm-modal-header {
        padding: 20px 18px;
    }

    .fpm-modal-header h3 {
        font-size: 1.3em;
    }

    .fpm-modal-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .fpm-modal-body {
        padding: 20px 16px;
    }

    .fpm-category {
        padding: 18px;
        border-radius: 12px;
    }

    .fpm-category-title {
        font-size: 1em;
        margin-bottom: 14px;
    }

    .fpm-suggestions-list {
        gap: 10px;
    }

    .fpm-suggestion-item {
        font-size: 13px;
        padding: 10px 16px;
        flex: 1 1 auto;
        min-width: calc(50% - 5px);
        text-align: center;
    }
}

/* ============================================
   EDIT PROFILE PAGE
   ============================================ */
.fpm-profile-wrapper {
    max-width: 100%;
    margin: 0;
}

.fpm-profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.fpm-profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    overflow: visible;
    /* Ensure button is not cut off */
}

.fpm-avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.2);
}

.fpm-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef5fb 0%, #fce4f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: #E91E8C;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.2);
}

.fpm-avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: #E91E8C;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(233, 30, 140, 0.4);
    transition: all 0.3s ease;
    z-index: 20;
    font-size: 16px;
    padding: 0;
}

.fpm-avatar-edit:hover {
    background: #D01A7B;
    transform: scale(1.1);
}

.fpm-avatar-edit input {
    display: none;
}

.fpm-profile-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.fpm-profile-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.fpm-section-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #fce4f2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fpm-section-icon {
    font-size: 1.2em;
}

.fpm-form-row {
    margin-bottom: 20px;
}

.fpm-form-row:last-child {
    margin-bottom: 0;
}

.fpm-form-label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.fpm-form-input,
.fpm-form-select,
.fpm-form-textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 2px solid #f0f0f0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    color: #333 !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.fpm-form-input:focus,
.fpm-form-select:focus,
.fpm-form-textarea:focus {
    border-color: #E91E8C;
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
    background: #fff;
}

.fpm-form-input::placeholder,
.fpm-form-textarea::placeholder {
    color: #aaa;
}

.fpm-form-input[readonly] {
    background: #fafafa;
    color: #888;
    cursor: not-allowed;
}

.fpm-form-textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.fpm-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.fpm-form-select:hover {
    border-color: #ddd;
}

.fpm-form-select:focus {
    border-color: #E91E8C;
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
}

.fpm-form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fpm-form-hint {
    font-size: 0.8em;
    color: #888;
    margin-top: 6px;
}

.fpm-btn-primary {
    background: #E91E8C !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(233, 30, 140, 0.3) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
    line-height: 1.3 !important;
    height: auto !important;
}

.fpm-btn-primary:hover {
    background: #D01A7B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.35) !important;
}

.fpm-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.fpm-btn-secondary {
    background: #fff;
    color: #E91E8C;
    border: 2px solid #E91E8C;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fpm-btn-secondary:hover {
    background: #E91E8C;
    color: #fff;
}

.fpm-url-preview {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fpm-url-preview input {
    flex: 1;
}

.fpm-url-preview .fpm-btn-copy {
    padding: 14px 18px;
    background: #E91E8C;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fpm-url-preview .fpm-btn-copy:hover {
    background: #D01A7B;
}

.fpm-encabezado-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.fpm-encabezado-option {
    flex: 1;
    min-width: 100px;
}

.fpm-encabezado-option input[type="radio"] {
    display: none;
}

.fpm-encabezado-option label {
    display: block;
    padding: 15px 20px;
    background: #f8f8f8;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fpm-encabezado-option input[type="radio"]:checked+label {
    background: linear-gradient(135deg, #fef5fb 0%, #fce4f2 100%);
    border-color: #E91E8C;
    color: #E91E8C;
}

.fpm-encabezado-option label:hover {
    border-color: #fce4f2;
}

.fpm-custom-encabezado {
    margin-top: 15px;
    display: none;
}

.fpm-custom-encabezado.active {
    display: block;
}

.fpm-section-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.fpm-profile-code {
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #fce4f2;
    text-align: center;
    margin-top: 15px;
}

.fpm-profile-code-label {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 5px;
}

.fpm-profile-code-value {
    font-size: 1.4em;
    font-weight: 700;
    color: #E91E8C;
    letter-spacing: 2px;
}

.fpm-admin-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 2px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    color: #856404;
}

.fpm-admin-notice p {
    margin: 0;
    font-size: 0.95em;
}

.fpm-admin-notice strong {
    color: #856404;
}

/* Profile responsive */
@media (max-width: 600px) {
    .fpm-profile-section {
        padding: 20px;
    }

    .fpm-form-row-inline {
        grid-template-columns: 1fr;
    }

    .fpm-encabezado-options {
        flex-direction: column;
    }

    .fpm-url-preview {
        flex-direction: column;
    }

    .fpm-url-preview .fpm-btn-copy {
        width: 100%;
    }
}

/* ============================================
   REGISTRATION FORM (3 STEPS)
   ============================================ */
.fpm-register-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.fpm-register-steps {
    margin-bottom: 40px;
}

.fpm-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.fpm-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 150px;
}

.fpm-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 3px solid #f0f0f0;
}

.fpm-step-item.active .fpm-step-number {
    background: linear-gradient(135deg, #E91E8C 0%, #D01A7B 100%);
    color: #fff;
    border-color: #E91E8C;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
    transform: scale(1.1);
}

.fpm-step-item.completed .fpm-step-number {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.fpm-step-label {
    font-size: 0.85em;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.fpm-step-item.active .fpm-step-label {
    color: #E91E8C;
    font-weight: 600;
}

.fpm-step-line {
    flex: 1;
    height: 3px;
    background: #f0f0f0;
    margin: 0 10px;
    position: relative;
    top: -25px;
}

.fpm-step-item.completed+.fpm-step-line {
    background: #28a745;
}

.fpm-register-step {
    display: none;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.fpm-register-step.active {
    display: block;
    animation: fpm-slideUp 0.4s ease;
}

.fpm-step-header {
    text-align: center;
    margin-bottom: 35px;
}

.fpm-step-header h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}

.fpm-step-header p {
    font-size: 1em;
    color: #666;
    margin: 0;
}

.fpm-register-form {
    max-width: 100%;
}

.fpm-step-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.fpm-step-actions .fpm-btn-primary,
.fpm-step-actions .fpm-btn-secondary {
    min-width: 150px;
}

.fpm-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95em;
    color: #333;
    line-height: 1.5;
}

.fpm-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #E91E8C;
    flex-shrink: 0;
}

.fpm-checkbox-label a {
    color: #E91E8C;
    text-decoration: underline;
}

.fpm-checkbox-label a:hover {
    color: #D01A7B;
}

.fpm-register-success {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #fef5fb 0%, #fff 100%);
    border-radius: 20px;
    border: 2px solid #fce4f2;
}

.fpm-success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.fpm-register-success h2 {
    font-size: 2em;
    color: #333;
    margin: 0 0 15px;
}

.fpm-register-success p {
    font-size: 1.1em;
    color: #666;
    margin: 0;
}

.fpm-already-logged-in {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #856404;
}

.fpm-already-logged-in a {
    color: #E91E8C;
    font-weight: 600;
    text-decoration: underline;
}

/* Registration responsive */
@media (max-width: 600px) {
    .fpm-register-wrapper {
        padding: 10px;
    }

    .fpm-register-step {
        padding: 25px 20px;
    }

    .fpm-step-indicator {
        gap: 5px;
    }

    .fpm-step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .fpm-step-label {
        font-size: 0.75em;
    }

    .fpm-step-line {
        margin: 0 5px;
    }

    .fpm-step-header h2 {
        font-size: 1.4em;
    }

    .fpm-step-actions {
        flex-direction: column;
    }

    .fpm-step-actions .fpm-btn-primary,
    .fpm-step-actions .fpm-btn-secondary {
        width: 100%;
    }
}

/* Utility Classes for Auth Navigation */
.fpm-hidden {
    display: none !important;
}

/* Profile Tabs */
/* Profile Container */
.fpm-profile-wrapper {
    max-width: 100%;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

/* Profile Header */
.fpm-profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.fpm-profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.fpm-profile-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Profile Tabs */
.fpm-profile-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 50px;
    display: inline-flex;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.fpm-profile-tab {
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fpm-profile-tab:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.05);
}

.fpm-profile-tab.active {
    color: #fff;
    background: #1a1a1a;
    /* Will be overridden by primary color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Tab Content */
.fpm-tab-content {
    display: none;
    animation: slideUpFade 0.4s ease;
}

.fpm-tab-content.active {
    display: block;
}

/* Profile Sections (Cards) */
.fpm-profile-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.fpm-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.fpm-section-icon {
    font-size: 24px;
}

/* Form Layout */
.fpm-form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fpm-form-hint {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .fpm-profile-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 15px;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .fpm-profile-tab {
        flex: 0 0 auto;
    }

    .fpm-form-row-inline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fpm-profile-section {
        padding: 25px;
    }
}

/* Registration Success Message */
.fpm-register-success {
    text-align: center;
    padding: 50px 30px;
    animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fpm-success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fpm-register-success h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.fpm-register-success p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Hide Login/Register Menu Items for Logged-in Users */
body.logged-in #register,
body.logged-in #login {
    display: none !important;
}

/* Hide 'conectado' menu for non-logged-in users */
body:not(.logged-in) #conectado {
    display: none !important;
}

/* =========================================
   Edit Profile Widget
   ========================================= */
.fpm-profile-wrapper {
    max-width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.fpm-admin-notice {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-bottom: 1px solid #ffeeba;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Header */
.fpm-login-wrapper {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* Fix for squared top corners */
    margin-bottom: 30px;
}

.fpm-profile-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.fpm-avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fpm-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #adb5bd;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fpm-avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.fpm-avatar-edit-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.fpm-profile-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #333;
}

.fpm-profile-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Section Cards */
.fpm-profile-section-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.fpm-card-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: #fcfcfc;
}

.fpm-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fpm-card-title .dashicons {
    color: #E91E63;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.fpm-card-body {
    padding: 30px;
}

/* Tabs */
.fpm-profile-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #fff;
    overflow-x: auto;
}

.fpm-profile-tab {
    flex: 1;
    padding: 20px 15px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fpm-profile-tab:hover {
    color: #E91E63;
    background: #fff5f8;
}

.fpm-profile-tab.active {
    color: #E91E63;
    border-bottom-color: #E91E63;
}

.fpm-profile-tab .dashicons {
    padding: 30px 10px;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

/* Tab Content */
.fpm-tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.fpm-tab-content.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Forms */
.fpm-profile-form {
    max-width: 100%;
}

.fpm-form-centered {
    max-width: 500px;
    margin: 0 auto;
}

.fpm-row-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.fpm-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.fpm-step-number {
    background: #ffeef4;
    color: #E91E63;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.fpm-form-group {
    margin-bottom: 30px;
}

.fpm-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.fpm-input,
.fpm-select,
.fpm-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
}

.fpm-input:focus,
.fpm-select:focus,
.fpm-textarea:focus {
    border-color: #E91E63;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.fpm-input.bg-gray {
    background-color: #f8f9fa;
    color: #666;
}

.fpm-input-readonly {
    padding: 12px 15px;
    background: #f1f3f5;
    border-radius: 8px;
    font-family: monospace;
    font-size: 16px;
    color: #495057;
    border: 1px solid #e9ecef;
}

.fpm-hint {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Header Style Options */
.fpm-section-divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

.fpm-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.fpm-section-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.fpm-header-style-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.fpm-style-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fpm-style-card:hover {
    border-color: #ffb6c1;
    background: #fffbfd;
}

.fpm-style-card.selected {
    border-color: #E91E63;
    background: #fff5f8;
}

.fpm-style-card input[type="radio"] {
    display: none;
}

.fpm-style-title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.fpm-style-preview {
    font-size: 13px;
    color: #666;
}

.fpm-input-sm {
    width: 100%;
    padding: 8px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 5px;
}

/* Public URL Box */
.fpm-public-url-box {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.fpm-url-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fpm-url-label {
    font-size: 12px;
    font-weight: 700;
    color: #1565c0;
    text-transform: uppercase;
}

.fpm-url-link {
    font-size: 16px;
    color: #1976d2;
    text-decoration: none;
    word-break: break-all;
}

.fpm-url-link:hover {
    text-decoration: underline;
}

.fpm-btn-copy {
    background: #fff;
    border: 1px solid #90caf9;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.fpm-btn-copy:hover {
    background: #e3f2fd;
}

/* Notification Box */
/* Notification Box */
.fpm-notification-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
}

.fpm-notification-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}

.fpm-notification-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Secure Alert */
.fpm-secure-alert {
    display: flex;
    gap: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.fpm-secure-alert .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #28a745;
}

.fpm-alert-content strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.fpm-alert-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Password Tab */
.fpm-lock-icon {
    width: 60px;
    height: 60px;
    background: #fff5f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.fpm-lock-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #E91E63;
}

.text-center {
    text-align: center;
}

/* Actions */
.fpm-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.fpm-btn-save {
    background: #E91E63;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.fpm-btn-save:hover {
    background: #d81b60;
    transform: translateY(-1px);
}

.fpm-btn-save:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.fpm-btn-cancel {
    background: transparent;
    color: #666;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.fpm-btn-cancel:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .fpm-row-2-col {
        grid-template-columns: 1fr;
    }

    .fpm-header-style-options {
        grid-template-columns: 1fr;
    }

    .fpm-public-url-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .fpm-btn-copy {
        width: 100%;
    }
}

/* Utilities */
.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.fpm-char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* ============================================
   CREATE LIST WIDGET REDESIGN
   ============================================ */
.fpm-create-list-wrapper {
    max-width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    /* Assuming Inter or similar */
}

.fpm-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

/* Config Card */
.fpm-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.fpm-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.fpm-icon-settings {
    font-size: 24px;
    color: #999;
}

.fpm-icon-heart {
    font-size: 24px;
    color: #E91E63;
}

.fpm-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .fpm-config-grid {
        grid-template-columns: 1fr;
    }
}

.fpm-config-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
    font-size: 14px;
}

.fpm-input-group {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 5px;
    align-items: center;
}

.fpm-input-group-light {
    background: #FEF5FB;
    border-color: #FCE4F2;
}

.fpm-input-group .fpm-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 15px !important;
    font-size: 15px;
    color: #333;
    width: 100%;
}

.fpm-input-group .fpm-input:focus {
    outline: none !important;
}

.fpm-input-transparent {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 15px !important;
    font-size: 14px;
    color: #E91E8C;
    /* Pink text for link */
    width: 100%;
}

.fpm-link-icon {
    padding-left: 15px;
    font-size: 16px;
    color: #999;
}

.fpm-btn-pink {
    background: #E91E8C;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fpm-btn-pink:hover {
    background: #D81B60;
    transform: translateY(-1px);
}

.fpm-btn-copy {
    background: #fff;
    color: #E91E8C;
    border: 1px solid #FCE4F2;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
}

.fpm-btn-copy:hover {
    background: #FEF5FB;
}

/* File Upload Drop Zone */
.fpm-file-upload {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
    cursor: pointer;
}

.fpm-file-upload:hover {
    border-color: #E91E63;
    background: #fff0f5;
}

.fpm-file-upload.drag-over {
    border-color: #E91E63;
    background: #fff0f5;
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.1);
}

/* Removed duplicate fpm-file-label block */

/* Image Preview Styles */
.fpm-image-preview-container {
    position: relative;
    width: 100%;
    /* Fixed height as requested */
    height: 500px !important;
    min-height: 500px !important;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
    /* Light grey instead of black for better feel */
    margin-top: 10px;
    display: none;
    /* Hidden by default until image loads */
    justify-content: center;
    align-items: center;
}

/* SHOW preview container when image exists */
.fpm-file-upload-wrapper.has-image .fpm-image-preview-container {
    display: block !important;
}

.fpm-image-preview-container img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Adaptive Preview Styles */
.fpm-image-preview.vertical img {
    max-height: 400px;
    /* Limit height for vertical images */
    width: auto;
}

.fpm-image-preview.horizontal img {
    width: 100%;
    height: auto;
}

.fpm-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--e-global-color-accent) !important;
    font-size: 18px;
    font-weight: 500;
    color: var(--e-global-color-be60ab9) !important;
    border-radius: 50px !important;
    padding: 15px !important;
    line-height: 0px !important;
    border: none;
    cursor: pointer;
    width: auto !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.fpm-remove-image:hover {
    transform: scale(1.1);
}



.fpm-remove-image:hover {
    background: #ff4d4d;
    color: #fff;
    transform: scale(1.1);
}

/* Wishes Card */
.fpm-wishes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.fpm-wishes-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fpm-login-wrapper {
    width: 100%;
    max-width: 100%;
    /* Full width */
    margin: 20px 0 0 20px;
    background: #fff;
    padding: 10px 0;
    /* Removed lateral padding */
    border-radius: 16px 16px 0 0;
    /* Rounded top corners */
}

.fpm-wishes-header {
    padding: 25px 30px 0 30px;
    /* Reduced top padding, re-added lateral padding */
}

.fpm-login-wrapper .fpm-card-body {
    padding: 20px 30px;
    /* Re-added lateral padding to body */
}

.fpm-login-header {
    text-align: center;
    margin-bottom: 25px;
}

.fpm-login-icon {
    width: 60px;
    height: 60px;
    background: #FFF0F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.fpm-login-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #E91E63;
}

.fpm-login-header h3 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.fpm-login-subtitle {
    margin: 0 0 25px 0;
    /* Added bottom margin */
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.fpm-form-group {
    margin-bottom: 20px;
}

.fpm-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fcfcfc;
}

.fpm-input:focus {
    border-color: #E91E8C;
    background: #fff;
    outline: none;
}

.fpm-btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 16px;
}

.fpm-login-footer-links {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.fpm-link-muted {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.fpm-link-muted:hover {
    color: #666;
}

.fpm-link-accent {
    color: #E91E8C;
    font-weight: 600;
    text-decoration: none;
}

.fpm-link-accent:hover {
    text-decoration: underline;
}

.fpm-divider {
    color: #ddd;
}

/* Profile Card (Logged In) */
.fpm-profile-card {
    text-align: center;
}

.fpm-profile-header-large {
    margin-bottom: 30px;
}

.fpm-profile-avatar-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.fpm-profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpm-profile-header-large h3 {
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}

.fpm-profile-header-large p {
    margin: 0;
    color: #888;
    font-size: 15px;
}

.fpm-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fpm-title-text h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 700;
}

.fpm-title-text p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.fpm-wishes-actions {
    display: flex;
    gap: 10px;
}

.fpm-btn-white {
    background: #fff;
    border: 1px solid #eee;
    color: #666;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fpm-btn-white:hover {
    border-color: #ddd;
    background: #f9f9f9;
}

/* Table */
.fpm-wishes-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 100px;
    padding: 15px 20px;
    background: #fcfcfc;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fpm-product-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 100px;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.fpm-product-row:hover {
    background: #fafafa;
}

/* Wishes Footer */
.fpm-wishes-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
    margin-top: 20px;
}

.fpm-count-text {
    color: #666;
    font-size: 14px;
}

.fpm-count-text span {
    font-weight: 700;
    color: #333;
}

.fpm-total-text {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fpm-total-price {
    font-size: 24px;
    font-weight: 800;
    color: #E91E63;
}

@media (max-width: 768px) {
    .fpm-wishes-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.fpm-col-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* File Upload */
.fpm-file-upload {
    position: relative;
    width: 100%;
}

/* Force hide default input to use custom label */
.fpm-input-file {
    opacity: 0 !important;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    display: block !important;
    /* Must be block to catch clicks if opaque, BUT we have label */
    /* Update: If we hide it with display:none, label needs 'for' attribute working perfectly. */
    /* Let's use opacity 0 and absolute positioning to be safe against 'display:none' issues on some browsers/themes */
    top: 0;
    left: 0;
}

/* When image is present, hide the input completely so it doesn't block drag events */
.fpm-file-upload-wrapper.has-image .fpm-input-file {
    display: none !important;
    pointer-events: none;
}

/* Removed duplicate fpm-file-label block */

.fpm-image-preview {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-top: 10px;
}

.fpm-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpm-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.fpm-remove-image:hover {
    background: rgba(233, 30, 99, 0.8);
}

.fpm-drag-handle {
    color: #ccc;
    cursor: grab;
}

.fpm-title-text {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.fpm-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 8px;
    width: fit-content;
}

.fpm-qty-btn {
    background: none;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    font-size: 18px;
    line-height: 0;
    padding: 0;
    text-align: center;
}

/* File Upload */
.fpm-file-upload {
    position: relative;
    width: 100%;
}

.fpm-input-file {
    display: none;
}

/* Removed duplicate fpm-file-label block */

.fpm-image-preview {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-top: 10px;
}

.fpm-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpm-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.fpm-remove-image:hover {
    background: rgba(233, 30, 99, 0.8);
}

.fpm-qty-btn:hover {
    color: #333;
    background: #f5f5f5;
    border-radius: 4px;
}

.fpm-quantity {
    width: 40px !important;
    text-align: center !important;
    border: none !important;
    padding: 5px !important;
    background: transparent !important;
    font-weight: 600;
    -moz-appearance: textfield;
}

.fpm-quantity::-webkit-outer-spin-button,
.fpm-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fpm-price-input-wrapper {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.fpm-currency-symbol {
    margin-right: 2px;
}

.fpm-price {
    font-weight: 700 !important;
    padding: 5px !important;
    width: 100px !important;
}

.fpm-col-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.fpm-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fpm-btn-icon:hover {
    background: #f0f0f0;
    color: #333;
}

.fpm-delete-btn:hover {
    background: #fee;
    color: #d32f2f;
}

/* ============================================
   RECEIVED GIFTS WIDGET REDESIGN
   ============================================ */
.fpm-regalos-recibidos-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Dashboard Header Layout */
.fpm-dashboard-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .fpm-dashboard-header {
        grid-template-columns: 1fr;
    }
}

/* Total Card */
.fpm-total-recibido {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 30px rgba(233, 30, 140, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fpm-total-card-gradient {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
}

.fpm-total-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.fpm-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #333 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fpm-wallet-icon {
    font-size: 24px;
    opacity: 0.8;
}

.fpm-total-amount {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.1;
}

.fpm-total-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
    /* Added spacing */
}

.fpm-transfer-btn {
    background: #fff;
    color: #E91E63;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.fpm-transfer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Grouped Gifts Styling */
.fpm-gift-items-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Reduced gap */
}

.fpm-gift-item-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    /* Smaller font */
    color: #666;
    background: #f9f9f9;
    padding: 4px 10px;
    /* Reduced padding */
    border-radius: 12px;
    /* Slightly less rounded */
    width: fit-content;
    border: 1px solid #eee;
    line-height: 1.2;
}

.fpm-gift-item-compact .dashicons {
    font-size: 14px;
    /* Smaller icon */
    width: 14px;
    height: 14px;
    color: #E91E63;
}

.fpm-item-name {
    font-weight: 500;
}

.fpm-item-qty-badge {
    background: #E91E63;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Mobile Grouped Items */
.fpm-gift-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.fpm-gift-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Stats Column */
.fpm-stats-column {
    flex: 1;
    /* Added for flexbox layout */
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    /* Important for flex item to take full height */
}

.fpm-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Updated shadow */
    border: 1px solid #f0f0f0;
    flex: 1;
    transition: transform 0.3s ease;
    /* Added transition */
}

.fpm-stat-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.fpm-icon-pink {
    background: #FEF5FB;
    color: #E91E8C;
}

.fpm-icon-purple {
    background: #F3E5F5;
    color: #9C27B0;
}

.fpm-icon-green {
    background: #E8F5E9;
    color: #4CAF50;
}

.fpm-stat-content {
    display: flex;
    flex-direction: column;
}

.fpm-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.fpm-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Gifts List Container */
.fpm-gifts-list-container {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.fpm-list-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.fpm-list-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}

.fpm-logout-btn {
    color: #333 !important;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: relative;
    text-decoration: none !important;
}

.fpm-logout-btn .dashicons {
    transform: rotate(180deg);
    display: inline-block;
}

.fpm-logout-btn:hover {
    color: #E91E63 !important;
    background-color: rgba(233, 30, 99, 0.05);
}

/* Tooltip */
.fpm-logout-btn::before {
    content: "Cerrar sesión";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #333;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    pointer-events: none;
    font-family: sans-serif;
    font-weight: 500;
}

.fpm-logout-btn::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: -2px;
    pointer-events: none;
}

.fpm-logout-btn:hover::before,
.fpm-logout-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.fpm-logout-btn i {
    color: inherit !important;
}

/* Logout Modal */
.fpm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.fpm-logout-modal-content {
    background: #fff;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fpmSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fpm-modal-header-premium {
    background: linear-gradient(135deg, #E91E63 0%, #FF4081 100%);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    color: #fff;
}

.fpm-modal-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fpm-modal-icon-wrapper .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #fff;
}

.fpm-modal-header-premium h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fpm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fpm-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.fpm-modal-body {
    padding: 30px 25px;
    text-align: center;
    color: #444;
}

.fpm-modal-body p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fpm-modal-subtitle {
    font-size: 14px !important;
    color: #888;
    font-weight: 400 !important;
    margin: 0;
}

.fpm-modal-footer {
    padding: 20px 25px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.fpm-btn-confirm-logout {
    background: #E91E63;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    border: none;
    cursor: pointer;
}

.fpm-btn-confirm-logout:hover {
    background: #D81B60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.fpm-btn-cancel {
    background: #f5f5f5;
    color: #666;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.fpm-btn-cancel:hover {
    background: #e0e0e0;
    color: #333;
}

.fpm-transfer-btn.disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.fpm-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.fpm-btn-small:hover {
    background: #e0e0e0;
    color: #000;
}

.fpm-btn-cancel {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.fpm-btn-cancel:hover {
    background: #f0f0f0;
    color: #333;
}

/* Login Messages */
.fpm-login-message {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fpmFadeIn 0.3s ease;
}

.fpm-login-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.fpm-login-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.fpm-login-message .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.fpm-spin {
    animation: fpmSpin 1s infinite linear;
}

@keyframes fpmSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fpmFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpm-btn-confirm {
    background: #E91E63;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.fpm-btn-confirm:hover {
    background: #D81B60;
    color: #fff;
    transform: translateY(-1px);
}

@keyframes fpmSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Table Styling */
.fpm-gifts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    /* Increased spacing between rows */
}

.fpm-gifts-table th {
    text-align: left;
    padding: 0 25px 10px;
    /* Adjusted padding */
    font-size: 11px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    background: transparent;
}

.fpm-gifts-table td {
    padding: 25px;
    /* More breathing room */
    vertical-align: middle;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    /* Add vertical divider */
    transition: all 0.2s ease;
}

.fpm-gifts-table tr td:first-child {
    border-left: 1px solid #f0f0f0;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.fpm-gifts-table tr td:last-child {
    border-right: 1px solid #f0f0f0;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Remove border-right from the last cell to avoid double border with the rounded corner */
.fpm-gifts-table tr td:last-child {
    border-right: 1px solid #f0f0f0;
    /* Keep it for the border, but radius handles the corner */
}

/* Row Hover Effect */
.fpm-gifts-table tr:hover td {
    background: #fff;
    border-top-color: transparent;
    border-bottom-color: transparent;
    /* We need to keep vertical borders or handle them?
       If we make borders transparent, vertical dividers disappear.
       Let's keep borders but add shadow. */
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Shadow on hover */
    position: relative;
    z-index: 1;
}

/* Default Shadow for Rows (Optional, if we want them to look like cards always) */
/* For now, let's keep it flat and pop on hover, or add a subtle shadow always */
.fpm-gifts-table tr td {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
}

.fpm-buyer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fpm-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E3F2FD;
    color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.15);
}

.fpm-buyer-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fpm-buyer-name {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 15px;
}

.fpm-gift-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.fpm-message-cell {
    font-style: italic;
    color: #555;
    max-width: 350px;
    line-height: 1.6;
    font-size: 14px;
}

.fpm-gift-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FEF5FB;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: #E91E8C;
    font-size: 13px;
    border: 1px solid rgba(233, 30, 140, 0.1);
    transition: all 0.2s;
}

.fpm-gift-pill:hover {
    background: #FCE4F2;
    border-color: rgba(233, 30, 140, 0.2);
}

.fpm-amount-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 48px;
    /* Matches avatar height */
    height: 100%;
}

.fpm-amount-positive {
    color: #00C853;
    font-weight: 800;
    font-size: 18px;
    background: transparent;
    /* Removed background to look less like a button */
    padding: 0;
    /* Removed padding */
    border-radius: 0;
    display: block;
    /* Changed to block */
    letter-spacing: -0.5px;
    min-height: auto;
    text-align: right;
    /* Align right like a financial column */
}

/* Add a plus sign style if needed, or keep it simple */
.fpm-amount-positive::before {
    /* content: '+'; already in HTML */
    margin-right: 2px;
}

/* Mobile Cards */
.fpm-gifts-cards-mobile {
    display: none;
}

@media (max-width: 768px) {
    .fpm-desktop-only {
        display: none;
    }

    .fpm-gifts-cards-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .fpm-gift-card {
        border: 1px solid #eee;
        border-radius: 15px;
        padding: 20px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    }

    .fpm-gift-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .fpm-gift-message {
        font-style: italic;
        color: #666;
        margin-bottom: 15px;
        font-size: 14px;
        background: #f9f9f9;
        padding: 10px;
        border-radius: 8px;
    }

    .fpm-total-amount {
        font-size: 40px;
    }
}

/* =========================================
   MODERN PUBLIC LIST DESIGN
   ========================================= */

.fpm-public-wishlist-wrapper.fpm-modern-layout {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    /* Assuming Outfit is loaded, fallback to sans-serif */
}

/* --- Header Section --- */
.fpm-public-header-modern {
    position: relative;
    width: 100%;
    aspect-ratio: 900/500;
    /* Maintain Desktop Ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin: 0 auto 40px;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
}

.fpm-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    /* Gradient overlay */
    z-index: 1;
}

.fpm-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.fpm-header-label {
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
    font-weight: 600;
}

.fpm-header-names {
    font-family: 'Great Vibes', cursive;
    /* Script font */
    font-size: 80px;
    margin: 0 0 20px;
    line-height: 1.1;
    font-weight: 400;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.fpm-header-message {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    font-style: italic;
}

.fpm-header-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Header Text */
@media (max-width: 768px) {
    .fpm-header-names {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .fpm-header-message {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .fpm-header-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .fpm-header-date {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* --- List Container --- */
.fpm-list-container-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Product Card --- */
.fpm-product-card-modern {
    background: #fff;
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fpm-product-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.fpm-card-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.fpm-card-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Checkbox */
.fpm-checkbox-wrapper-modern {
    position: relative;
    width: 24px;
    height: 24px;
}

.fpm-checkbox-wrapper-modern input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.fpm-checkbox-wrapper-modern label {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    /* Circle checkbox */
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.fpm-checkbox-wrapper-modern input[type="checkbox"]:checked+label {
    border-color: #E91E63;
    background: #E91E63;
}

.fpm-checkbox-wrapper-modern input[type="checkbox"]:checked+label::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

/* Icon */
.fpm-gift-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E91E63;
    /* Pinkish accent */
}

.fpm-gift-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Info */
.fpm-gift-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fpm-gift-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.fpm-gift-desc {
    font-size: 13px;
    color: #888;
}

/* Price */
.fpm-gift-price {
    font-size: 20px;
    font-weight: 800;
    color: #E91E63;
}

/* Button */
.fpm-select-gift-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #FFF0F5;
    color: #E91E63 !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(233, 30, 99, 0.15);
    transition: all 0.2s;
    cursor: pointer;
}

.fpm-select-gift-btn:hover {
    background: #E91E63;
    color: #fff !important;
    border-color: #E91E63;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.2);
}

.fpm-select-gift-btn.selected {
    background: #E91E63;
    color: #fff !important;
    border-color: #E91E63;
}

.fpm-product-row.selected {
    background: #FFF0F5;
    border-color: #E91E63;
}

/* Responsive */
@media (max-width: 768px) {
    .fpm-header-names {
        font-size: 50px;
    }

    .fpm-product-card-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .fpm-card-left {
        width: 100%;
    }

    .fpm-card-right {
        width: 100%;
        justify-content: space-between;
        padding-left: 44px;
        /* Align with content */
    }
}

/* --- Selected State --- */
.fpm-product-card-modern.selected {
    border-color: #E91E63;
    background-color: #FFF0F5;
    /* Light pink */
}

.fpm-product-card-modern.selected .fpm-gift-icon {
    background-color: #fff;
}

/* --- List Loading Spinner --- */
.fpm-list-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #888;
    font-size: 14px;
    gap: 15px;
}

.fpm-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #E91E8C;
    border-radius: 50%;
    animation: fpm-spin 0.8s linear infinite;
}

@keyframes fpm-spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Floating Total Bar --- */
.fpm-floating-total-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
    /* Hidden by default */
}

.fpm-floating-total-bar.visible {
    transform: translateY(0);
    display: block;
}

.fpm-bar-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fpm-total-info {
    display: flex;
    flex-direction: column;
}

.fpm-total-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #333;
    font-weight: 700;
    letter-spacing: 1px;
}

.fpm-total-amount {
    font-size: 28px;
    font-weight: 800;
    color: #E91E63;
}

.fpm-bar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fpm-selected-count {
    color: #333;
    font-size: 14px;
}

.fpm-btn-continue {
    background: #E91E63;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.fpm-btn-continue:hover {
    background: #D81B60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* ============================================
   REGISTER STEPS & VALIDATION
   ============================================ */
.fpm-register-step {
    display: none;
}

.fpm-register-step.active {
    display: block;
    animation: fpm-fadeIn 0.4s ease;
}

.fpm-field-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.fpm-input.fpm-input-error {
    border-color: #d63638 !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 4px rgba(214, 54, 56, 0.1) !important;
}

/* Shake animation for errors */
@keyframes fpm-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

.fpm-input-error {
    animation: fpm-shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

/* Success Message */
.fpm-success-content {
    text-align: center;
    padding: 40px 20px;
}

.fpm-success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.fpm-success-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #fff;
}

.fpm-success-content h2 {
    color: #333;
    margin-bottom: 10px;
}

.fpm-success-content p {
    color: #666;
}

/* Avatar Widget */
.fpm-user-avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    background: #fff;
    border-radius: 50px;
    padding-right: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.fpm-user-avatar-wrapper:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.fpm-user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fpm-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    object-fit: cover;
    display: block;
    border: none;
    /* Border moved to wrapper */
    box-shadow: none;
    /* Shadow moved to wrapper */
}

.fpm-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fpm-user-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.fpm-user-email {
    font-size: 11px;
    color: #888;
}

.fpm-logout-btn {
    margin-left: auto;
    color: #999;
    font-size: 18px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.fpm-logout-btn:hover {
    color: #d63638;
    background: #fff5f5;
}

/* Hide .invitado class for logged-in users */
body.logged-in .invitado {
    display: none !important;
}

/* Fix Avatar Styling */
.fpm-profile-avatar {
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fpm-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Responsive Table */
.fpm-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Transfer History Div Structure */
.fpm-transfer-header-row,
.fpm-transfer-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 100px;
    /* Date/Detail, Amount, Status, Receipt */
    gap: 15px;
    align-items: center;
    padding: 20px;
}

.fpm-transfer-header-row {
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    border-bottom: 2px solid #f5f5f5;
}

.fpm-transfer-row {
    background: #fff;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.fpm-transfer-row:hover {
    background: #fafafa;
}

/* Responsive Transfer History */
@media (max-width: 768px) {
    .fpm-transfer-header-row {
        display: none;
        /* Hide header on mobile like Create Gift */
    }

    .fpm-transfer-row {
        grid-template-columns: 1fr;
        gap: 10px;
        border: 1px solid #eee;
        margin-bottom: 10px;
        border-radius: 12px;
        padding: 15px;
    }

    .fpm-transfer-row>div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .fpm-transfer-row>div::before {
        content: attr(data-label);
        font-weight: 700;
        color: #999;
        font-size: 12px;
        text-transform: uppercase;
        display: block;
        /* Show labels on mobile */
    }

    /* ============================================
   SEARCH LIST WIDGET STYLES
   ============================================ */

    .fpm-search-widget-container {
        position: relative;
        width: 100%;
        /* max-width removed to allow Elementor control */
        margin: 0 auto;
        font-family: 'Outfit', sans-serif;
    }

    .fpm-search-pill {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* Space between label and input */
        /* Default styles, can be overridden by Elementor */
        background: #fff;
        border-radius: 50px;
        padding: 15px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

    .fpm-search-pill:focus-within {
        box-shadow: 0 15px 40px rgba(233, 30, 140, 0.15);
        border-color: rgba(233, 30, 140, 0.2);
        transform: translateY(-2px);
    }

    .fpm-search-label {
        /* Default styles */
        font-weight: 700;
        font-size: 14px;
        color: #888;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-right: 20px;
        white-space: nowrap;
        flex-shrink: 0;
        /* Prevent label from shrinking */
    }

    .fpm-search-input-wrapper {
        position: relative;
        flex-grow: 1;
        /* Take remaining space */
        display: flex;
        align-items: center;
    }

    .fpm-search-input {
        border: none !important;
        background: transparent !important;
        padding: 0 30px 0 0 !important;
        /* Right padding for icon */
        margin: 0 !important;
        font-size: 16px !important;
        color: #333 !important;
        width: 100% !important;
        box-shadow: none !important;
        outline: none !important;
        height: auto !important;
    }

    .fpm-search-icon {
        /* Default styles */
        color: #888;
        font-size: 20px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        /* Let clicks pass through to input */
    }

    .fpm-search-input:focus {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    .fpm-search-input::placeholder {
        color: #aaa !important;
        font-weight: 400 !important;
    }
}

/* Results Dropdown */
.fpm-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow: hidden;
    display: none;
    /* Hidden by default */
    max-height: 400px;
    overflow-y: auto;
}

.fpm-search-results.active {
    display: block;
    animation: fpm-slide-down 0.3s ease;
}

@keyframes fpm-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpm-search-result-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    /* Increased padding */
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    position: relative;
}

.fpm-search-result-item:last-child {
    border-bottom: none;
}

.fpm-search-result-item:hover {
    background: #fef5fb;
}



.fpm-result-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fpm-result-name {
    font-weight: 700;
    color: #333;
    font-size: 18px;
    /* Larger font */
    margin-bottom: 5px;
    line-height: 1.2;
}

.fpm-result-date {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fpm-result-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #888;
    transition: all 0.2s ease;
}

.fpm-search-result-item:hover .fpm-result-action {
    background: #E91E8C;
    color: #fff;
    transform: translateX(5px);
}

.fpm-no-results {
    padding: 30px;
    text-align: center;
    color: #888;
    font-style: italic;
    font-size: 15px;
}

/* Loading Spinner in Search */
.fpm-search-loading {
    position: absolute;
    right: 15px !important;
    top: 50%;
    transform: translateY(-50%);
    color: #E91E8C;
    display: none;
    z-index: 2;
}

.fpm-search-loading.active {
    display: block;
    animation: fpm-search-spin 1s linear infinite;
}

.fpm-search-input-wrapper.is-loading .fpm-search-icon {
    display: none !important;
}

@keyframes fpm-search-spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* =========================================
   Visibility Utilities
   ========================================= */
body:not(.logged-in) .conectado {
    display: none !important;
}

/* Password Toggle */
.fpm-toggle-password {
    z-index: 10;
}

/* ============================================
   ACCESS CONTROL VISIBILITY
   ============================================ */
body.fpm-guest .conectado {
    display: none !important;
}

body.fpm-logged-in .invitados {
    display: none !important;
}

/* ============================================
   SEARCH WIDGET REFINEMENTS
   ============================================ */
.fpm-result-name {
    font-size: 15px !important;
    margin-bottom: 2px !important;
}

.fpm-result-date {
    font-size: 12px !important;
}

.fpm-search-result-item {
    padding: 15px 20px !important;
}

/* ============================================
   RESPONSIVE AVATAR WIDGET
   ============================================ */
.fpm-name-mobile {
    display: none;
}

@media (max-width: 768px) {
    .fpm-name-desktop {
        display: none;
    }

    .fpm-name-mobile {
        display: block;
    }

    .fpm-user-email {
        display: none;
    }

    /* Search Widget Mobile Responsive */
    .fpm-search-widget-container {
        width: 100%;
        padding: 0 10px;
    }

    .fpm-search-pill {
        padding: 12px 20px !important;
        border-radius: 30px !important;
        flex-direction: column;
        gap: 8px;
    }

    .fpm-search-label {
        display: none !important;
    }

    .fpm-search-input-wrapper {
        width: 100%;
    }

    .fpm-search-input {
        font-size: 14px !important;
        padding: 8px 35px 8px 0 !important;
    }

    .fpm-search-input::placeholder {
        font-size: 14px !important;
    }

    .fpm-search-icon {
        font-size: 18px !important;
        right: 5px !important;
    }

    .fpm-search-results {
        border-radius: 15px !important;
        margin-top: 10px !important;
        max-height: 300px;
    }

    .fpm-search-result-item {
        padding: 12px 15px !important;
    }

    .fpm-result-info {
        width: 100%;
    }

    .fpm-result-name {
        font-size: 14px !important;
    }

    .fpm-result-date {
        font-size: 11px !important;
    }

    .fpm-no-results {
        padding: 20px;
        font-size: 14px;
    }
}

/* ============================================
   SEARCH WIDGET ICON ADJUSTMENTS
   ============================================ */
.fpm-search-input {
    padding-right: 40px !important;
}

.fpm-search-icon {
    right: 15px !important;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    pointer-events: none;
}

/* Search Result Item - Ensure full block clickable */
.fpm-search-result-item {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    cursor: pointer;
}

.fpm-search-result-item:hover {
    text-decoration: none;
    color: inherit;
}

/* Image Offset Control */
.fpm-offset-control {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.fpm-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin: 10px 0;
}

.fpm-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #E91E8C;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.fpm-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #E91E8C;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.fpm-range-slider::-webkit-slider-thumb:hover,
.fpm-range-slider::-moz-range-thumb:hover {
    background: #D01A7B;
}

/* Ensure preview image handles object-position */
.fpm-image-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* Essential for object-position to work */
    border-radius: 8px;
}

/* Improved File Upload & Drag Reposition */
.fpm-file-upload-wrapper {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 5px;
    background: #fafafa;
    min-height: 120px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.fpm-file-upload-wrapper.has-image {
    border-style: solid;
    border-color: #f0f0f0;
    padding: 0;
    background: #fff;
}

.fpm-file-upload-wrapper.has-image .fpm-file-label {
    display: none !important;
}

/* Ensure label is visible and styled correctly */
.fpm-file-label {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    color: #666 !important;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    height: 100%;
    min-height: 150px;
    /* Increased for better touch */
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
}

.fpm-file-label .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #ccc;
    transition: color 0.3s;
    display: block !important;
}

.fpm-file-upload-wrapper:hover .fpm-file-label .dashicons,
.fpm-file-upload-wrapper.drag-over .fpm-file-label .dashicons {
    color: #E91E63;
}

/* Force hide input always - label triggers it */
.fpm-input-file {
    display: none !important;
}

.fpm-preview-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Required for object-position */
    cursor: grab;
    transition: none !important;
    /* Disable transition during drag */
    touch-action: none;
    display: block;
}

.fpm-preview-img.is-dragging {
    cursor: grabbing;
}

/* (Consolidated above) */
.fpm-drag-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    white-space: nowrap;
}

.fpm-image-preview-container:hover .fpm-drag-instruction {
    opacity: 1;
}

/* Hide instruction while dragging */
.fpm-preview-img.is-dragging~.fpm-drag-instruction {
    opacity: 0;
}

.fpm-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #d63638;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 5;
    transition: all 0.2s;
}

.fpm-remove-image:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Preview Controls */
.fpm-preview-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.fpm-change-image-btn,
.fpm-save-image-btn,
.fpm-remove-image {
    position: static;
    background: #E91E8C !important;
    border: none !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    cursor: pointer;
    font-size: 18px !important;
    line-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    padding: 0 !important;
    min-width: 36px !important;
}

.fpm-change-image-btn:hover,
.fpm-save-image-btn:hover,
.fpm-remove-image:hover {
    background: #D01A7B !important;
    transform: scale(1.05);
}

/* Make sure image handles pointer events */
.fpm-preview-img {
    pointer-events: auto;
}

/* Elementor YouTube Video Fit Fix */
.elementor-background-video-container iframe,
.elementor-background-video-embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;

    /* Default: Attempt to cover viewport (good for fullscreen headers) */
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
}

/* Mobile/Tablet Override: Fix for fixed-height containers (e.g. 750px) */
@media (max-width: 1024px) {

    .elementor-background-video-container iframe,
    .elementor-background-video-embed iframe {
        /* Reset viewport dependence */
        width: auto !important;
        height: auto !important;

        /* Force filling the container height */
        min-height: 100% !important;

        /* Force width to be large enough to maintain 16:9 ratio given the height */
        /* For a fixed height container on a narrow screen, we need huge width % */
        min-width: 500% !important;
    }
}

/* Emoji Input Styles */
.fpm-emoji-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.fpm-emoji-input {
    width: 45px !important;
    text-align: center;
    padding: 0 !important;
    flex-shrink: 0;
}

/* Emoji Picker Popover */
.fpm-emoji-popover {
    position: absolute;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    z-index: 10000;
    width: 240px;
}

.fpm-emoji-option {
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    text-align: center;
    border-radius: 6px;
    transition: background 0.2s;
    user-select: none;
}

.fpm-emoji-option:hover {
    background: #f5f5f5;
    transform: scale(1.1);
}

.fpm-emoji-input {
    cursor: pointer !important;
    background-color: #fff !important;
}

/* Override emoji-button library styles to fix pink background */
.emoji-picker {
    background: #fff !important;
}

.emoji-picker .emoji-picker__emojis {
    background: #fff !important;
}

.emoji-picker .emoji-picker__emoji {
    background: transparent !important;
}

.emoji-picker .emoji-picker__emoji:hover {
    background: #f0f0f0 !important;
}

.emoji-picker .emoji-picker__category-buttons {
    background: #f9f9f9 !important;
}

.emoji-picker .emoji-picker__search-container {
    background: #fff !important;
}


.fpm-inline-info-row input[type="date"],
.fpm-inline-info-row textarea {
    width: 100%;
}

/* ============================================
   QUANTITY SELECTOR IN PUBLIC GIFT LIST
   ============================================ */
.fpm-qty-selector {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.fpm-qty-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #fff;
    cursor: pointer;
    min-width: 60px;
    text-align: center;
    transition: all 0.2s ease;
}

.fpm-qty-select:hover {
    border-color: #E91E8C;
}

.fpm-qty-select:focus {
    outline: none;
    border-color: #E91E8C;
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.fpm-gift-qty-info {
    display: inline-block;
    font-size: 11px;
    color: #E91E8C;
    background: #fdf0f7;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* ============================================
   CHECKOUT UI IMPROVEMENTS
   ============================================ */
.variation {
    margin-top: 10px !important;
    display: block !important;
    border-top: 1px dashed #eee;
    padding-top: 10px !important;
}

.variation dt {
    font-weight: 600 !important;
    color: #666 !important;
    font-size: 11px !important;
    float: left;
    clear: left;
    margin-right: 5px;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variation dd {
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
    line-height: 1.8;
}

.variation-CostodeServicio dt {
    color: #999 !important;
    font-weight: 400 !important;
}

.variation-CostodeServicio dd {
    color: #E91E8C !important;
}

.variation dd p {
    margin: 0 !important;
    display: inline-block;
}

.variation dd .amount {
    font-weight: 700;
}

/* ============================================
   THANK YOU PAGE REDESIGN
   ============================================ */
.fpm-thankyou-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    font-family: 'Outfit', sans-serif !important;
    animation: fpmFadeUp 0.6s ease-out;
}

@keyframes fpmFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpm-thankyou-header {
    text-align: center;
    margin-bottom: 40px;
}

.fpm-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.fpm-thankyou-header h1 {
    font-size: 24px;
    color: #333;
    margin: 0 0 5px;
    font-weight: 700;
}

.fpm-order-received-msg {
    color: #666;
    font-size: 16px;
}

.fpm-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: linear-gradient(135deg, #FEF5FB 0%, #fff 100%);
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 40px;
    border: 1px solid #fce4f2;
}

@media (max-width: 600px) {
    .fpm-order-summary-grid {
        grid-template-columns: 1fr;
    }
}

.fpm-summary-item {
    display: flex;
    flex-direction: column;
}

.fpm-summary-item .fpm-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}

.fpm-summary-item .fpm-value {
    font-size: 18px;
    font-weight: 600;
    color: #E91E8C;
}

.fpm-order-details-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.fpm-details-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.fpm-order-table {
    width: 100%;
    border-collapse: collapse;
}

.fpm-order-table th,
.fpm-order-table td {
    padding: 15px 20px;
    text-align: left;
}

.fpm-order-table thead th {
    background: #fafafa;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
}

.fpm-order-table tbody td {
    border-bottom: 1px solid #f9f9f9;
}

.fpm-item-info {
    display: flex;
    flex-direction: column;
}

.fpm-item-name {
    font-weight: 500;
    color: #333;
}

.fpm-item-qty {
    font-size: 13px;
    color: #999;
}

.fpm-order-table tfoot th {
    font-weight: 600;
    color: #666;
}

.fpm-order-table tfoot td {
    font-weight: 700;
    color: #333;
}

.fpm-total-row.order_total th,
.fpm-total-row.order_total td {
    background: #fdfdfd;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.fpm-total-row.order_total td {
    color: #E91E8C;
}

.fpm-thankyou-footer {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.fpm-thankyou-footer p {
    color: #666;
    margin-bottom: 25px;
}