﻿/* Cat Memorial System Styles */

/* Memorial Banner */
.memorial-banner {
    background: linear-gradient(135deg, #E8E8E8 0%, #D0C9E8 50%, #E8E8E8 100%);
    border: 2px solid #9B7EBD;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(155, 126, 189, 0.2);
    position: relative;
    overflow: hidden;
}

.memorial-banner::before {
    content: '🐾';
    position: absolute;
    font-size: 150px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.memorial-banner h2 {
    color: #5A5A5A;
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
    font-weight: 300;
}

.memorial-icon {
    font-size: 48px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.memorial-dates {
    font-size: 18px;
    color: #7A7A7A;
    margin: 15px 0;
    font-style: italic;
}

.memorial-message {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #6A6A6A;
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* Deceased Cat Photo Treatment */
.deceased-photo {
    filter: grayscale(70%) sepia(20%);
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(155, 126, 189, 0.3);
}

.deceased-photo-container {
    position: relative;
}

.deceased-photo-overlay {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #9B7EBD, #D0C9E8);
    color: white;
    padding: 8px 15px;
    border-bottom-left-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Memorial Badge for Cards */
.memorial-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #9B7EBD, #D0C9E8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.memorial-badge i {
    margin-right: 5px;
}

/* Disabled Actions for Deceased Cats */
.deceased-actions-disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.deceased-notice {
    background: linear-gradient(135deg, #F5F5F5, #E8E8E8);
    border-left: 4px solid #9B7EBD;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #6A6A6A;
    font-style: italic;
}

.deceased-notice i {
    color: #9B7EBD;
    margin-right: 10px;
}

/* Rainbow Bridge Message */
.rainbow-bridge {
    text-align: center;
    padding: 30px;
    background: linear-gradient(90deg,
            rgba(255, 0, 0, 0.1) 0%,
            rgba(255, 127, 0, 0.1) 16%,
            rgba(255, 255, 0, 0.1) 32%,
            rgba(0, 255, 0, 0.1) 48%,
            rgba(0, 0, 255, 0.1) 64%,
            rgba(75, 0, 130, 0.1) 80%,
            rgba(148, 0, 211, 0.1) 100%);
    border-radius: 15px;
    margin: 20px 0;
}

.rainbow-bridge p {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #5A5A5A;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Memorial Form Section */
.memorial-form-section {
    background: #FFF9F5;
    border: 2px dashed #9B7EBD;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.memorial-form-section h5 {
    color: #9B7EBD;
    margin-bottom: 20px;
}

.memorial-form-section .form-label {
    color: #6A6A6A;
    font-weight: 600;
}

/* Candle Animation */
.memorial-candle {
    display: inline-block;
    font-size: 32px;
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.8;
        filter: brightness(1.2);
    }
}

/* Memorial Card Overlay */
.cat-card.deceased {
    position: relative;
    filter: grayscale(50%);
}

.cat-card.deceased::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(155, 126, 189, 0.1);
    pointer-events: none;
    border-radius: inherit;
}

/* Restore Button */
.restore-cat-btn {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.restore-cat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .memorial-banner {
        padding: 20px;
    }

    .memorial-icon {
        font-size: 36px;
    }

    .memorial-dates {
        font-size: 16px;
    }

    .memorial-message {
        font-size: 14px;
        padding: 15px;
    }
}
