/* Wishlist Page Specific Styles */

.wishlist-page {
    padding: 3rem 0 5rem;
    min-height: 70vh;
    background: linear-gradient(135deg, #FEFEFE 0%, #F0F8FF 100%);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wishlist-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.page-header h1 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 3.5rem;
    color: var(--primary-red);
    margin: 1rem 0;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.wishlist-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state h2 {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--forest-green);
    font-size: 2rem;
    margin: 1rem 0;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.empty-state a {
    color: var(--primary-red);
    font-weight: 600;
}

/* Wishlist Header */
.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.wishlist-header h2 {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--primary-red);
    font-size: 2rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--primary-red);
}

/* Wishlist Items Grid */
#wishlist-items-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wishlist-item {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE4E1 100%);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wishlist-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-number {
    background: var(--primary-red);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.item-content p {
    color: var(--text-dark);
    margin: 0.3rem 0;
    line-height: 1.6;
}

.item-source {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.item-link {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1.2rem;
    background: var(--forest-green);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.item-link:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.remove-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: var(--dark-red);
}

/* Action Buttons */
.wishlist-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.print-btn {
    background: var(--forest-green);
    color: white;
}

.email-btn {
    background: var(--primary-red);
    color: white;
}

.share-btn {
    background: var(--gold);
    color: var(--dark-red);
}

/* Browse More */
.browse-more {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE4E1 100%);
    border-radius: 20px;
}

.browse-more h3 {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--forest-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.browse-more p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Modal Styles */
.input-field {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.input-field:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(22, 91, 51, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.email-form {
    margin-top: 2rem;
}

/* Share Modal */
.share-link-container {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.share-link-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-family: monospace;
    background: var(--cream);
    font-size: 0.9rem;
}

.share-options {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.share-options h3 {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.share-option-btn {
    padding: 1rem;
    border: 2px solid var(--border-light);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.share-option-btn i {
    font-size: 1.5rem;
}

.share-option-btn:hover {
    background: var(--cream);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .wishlist-container {
        box-shadow: none;
        padding: 2rem;
    }
    
    .wishlist-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .item-link {
        color: var(--forest-green);
        text-decoration: underline;
    }
    
    body {
        background: white;
    }
}

.print-only {
    display: none;
}

.print-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-red);
}

.print-header h1 {
    font-family: 'Mountains of Christmas', cursive;
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.print-name, .print-date {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .wishlist-container {
        padding: 2rem 1.5rem;
    }
    
    .wishlist-item {
        flex-direction: column;
    }
    
    .wishlist-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .share-link-container {
        flex-direction: column;
    }
}
