/* White Dove Theme: Fans Add-on v1.4 (Clean & Mobile Optimized) */

.sol-fans-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #111;
}

/* --- FORM --- */
.sol-fan-form-card {
    background: #ffffff;
    border: 1px solid rgba(229, 46, 153, 0.1);
    border-radius: 2.5rem;
    padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(229, 46, 153, 0.15);
    margin-bottom: 60px;
}

.sol-fan-header { margin-bottom: 30px; text-align: center; }

.sol-intro-text {
    font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 18px;
    line-height: 1.6; color: #444; max-width: 800px; margin: 0 auto;
}

.sol-fan-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

/* Inputs */
.sol-input-row { display: flex; gap: 15px; margin-bottom: 15px; }
.sol-input {
    width: 100%; padding: 14px 18px;
    background: #FAFAFA; border: 2px solid #F0F0F0; border-radius: 12px;
    font-size: 14px; outline: none; transition: all 0.2s;
    font-family: inherit; color: #333;
}
.sol-input:focus {
    border-color: #E52E99; background: #fff; box-shadow: 0 5px 15px rgba(229, 46, 153, 0.1);
}
textarea.sol-input { resize: vertical; min-height: 80px; margin-bottom: 20px; }

/* Emoji Picker */
.sol-label { display: block; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 10px; }
.sol-emoji-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.sol-emoji-picker label { cursor: pointer; }
.sol-emoji-picker input { display: none; }
.sol-emoji-picker span {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    font-size: 24px; background: #FAFAFA; border: 2px solid #F0F0F0;
    border-radius: 12px; transition: all 0.2s;
}
.sol-emoji-picker input:checked + span {
    border-color: #E52E99; background: #FFF0F5;
    transform: scale(1.1); box-shadow: 0 5px 15px rgba(229, 46, 153, 0.2);
}

/* Pay Box */
.sol-fan-pay {
    background: #FAFAFA; padding: 25px;
    border-radius: 24px; border: 1px solid #eee; text-align: center;
    display: flex; flex-direction: column; justify-content: center;
}
.sol-amount-box label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #999; margin-bottom: 10px; }
.sol-input-hero {
    width: 100%; padding: 10px; background: transparent; border: none;
    text-align: center; font-size: 24px; font-weight: 800; color: #E52E99; 
    margin-bottom: 5px; outline: none;
}
.sol-approx { font-size: 13px; color: #888; display: block; margin-bottom: 20px; }

.sol-btn-liquid {
    background: linear-gradient(135deg, #E52E99 0%, #9945FF 100%);
    color: #fff; border: none; padding: 16px;
    width: 100%; border-radius: 99px;
    font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(229, 46, 153, 0.3);
}
.sol-btn-liquid:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(229, 46, 153, 0.4); }
.sol-btn-liquid:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* --- PAYMENT MODAL (NO HEADER / FLOATING X) --- */
.sol-fan-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    padding: 20px;
    animation: solFadeIn 0.3s ease-out;
}

.sol-fan-modal {
    background: #fff;
    width: 100%; max-width: 650px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 25px 50px -12px rgba(153, 69, 255, 0.25);
    overflow: hidden;
    position: relative; /* For absolute button */
}

/* New Absolute Close Button */
.sol-modal-close-abs {
    position: absolute; top: 15px; right: 15px;
    background: rgba(0,0,0,0.05); border: none; 
    width: 32px; height: 32px; border-radius: 50%;
    font-size: 20px; color: #666; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; line-height: 1; transition: all 0.2s;
}
.sol-modal-close-abs:hover { background: #eee; color: #111; }

.sol-modal-body { padding: 40px; /* More padding since header is gone */ }

/* Split Layout */
.sol-modal-split { display: flex; gap: 30px; align-items: center; }

/* Left Col - QR */
.sol-col-qr {
    flex: 0 0 200px; text-align: center;
}
.sol-qr-tight-box {
    width: 100%; aspect-ratio: 1/1; background: #fff;
    border-radius: 12px; overflow: hidden; margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center;
}
.sol-qr-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sol-scan-hint { font-size: 10px; color: #999; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* Right Col - Details */
.sol-col-details {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between;
}

.sol-details-box {
    background: #FAFAFA; border: 1px solid #eee; border-radius: 12px;
    padding: 15px; text-align: left; margin-bottom: 25px;
}
.sol-detail-row { margin-bottom: 10px; }
.sol-detail-row:last-child { margin-bottom: 0; }
.sol-detail-label { display: block; font-size: 9px; text-transform: uppercase; color: #999; font-weight: 700; margin-bottom: 4px; }
.sol-detail-val { 
    display: flex; justify-content: space-between; align-items: center; 
    font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #333; 
    background: #fff; padding: 10px 14px; border: 1px solid #eee; border-radius: 6px;
}
.sol-truncate {
    display: inline-block; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom;
}
.sol-copy-mini {
    background: rgba(229, 46, 153, 0.1); color: #E52E99; border: none;
    font-size: 9px; font-weight: 700; padding: 3px 6px; border-radius: 4px;
    cursor: pointer; text-transform: uppercase; margin-left: 6px;
}

/* Verify Area */
.sol-verify-area { text-align: center; }

.sol-btn-verify {
    background: linear-gradient(135deg, #14F195 0%, #0dbd72 100%);
    color: #fff; border: none; padding: 14px 20px;
    width: 100%; border-radius: 99px;
    font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(20, 241, 149, 0.25);
}
.sol-btn-verify:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(20, 241, 149, 0.35); }
.sol-btn-verify:disabled { background: #eee; color: #999; box-shadow: none; cursor: not-allowed; transform: none; }

.sol-countdown-msg { margin-top: 10px; font-size: 12px; color: #E52E99; font-weight: 700; }
.sol-status-msg { margin-top: 8px; font-size: 12px; font-weight: 600; min-height: 18px; }

@keyframes solFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes solSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* --- WALL --- */
.sol-wall-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 30px; text-align: center; color: #111; }

/* PODIUM */
.sol-podium { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-bottom: 80px; }
.sol-podium-card {
    background: #fff; border-radius: 24px; padding: 20px;
    text-align: center; width: 100%; max-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; border: 2px solid transparent;
}
.sol-podium-card.rank-gold { order: 2; transform: scale(1.1); border-color: #FFD700; z-index: 2; box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2); }
.sol-podium-card.rank-silver { order: 1; border-color: #C0C0C0; }
.sol-podium-card.rank-bronze { order: 3; border-color: #CD7F32; }

.sol-medal { font-size: 40px; margin-bottom: 10px; }
.sol-podium-emoji { font-size: 32px; margin-bottom: 10px; }
.sol-podium-name { font-weight: 800; font-size: 16px; margin-bottom: 5px; color: #111; }
.sol-podium-amt { font-size: 14px; color: #E52E99; font-weight: 700; margin-bottom: 10px; }
.sol-podium-msg { font-size: 13px; color: #666; font-style: italic; }

/* RECENT GRID */
.sol-recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.sol-fan-card { background: #fff; border-radius: 20px; padding: 20px; border: 1px solid #f0f0f0; transition: all 0.3s; }
.sol-fan-card:hover { transform: translateY(-5px); border-color: #E52E99; box-shadow: 0 10px 30px rgba(229, 46, 153, 0.1); }
.sol-fan-card.new-entry { border-color: #14F195; box-shadow: 0 0 20px rgba(20, 241, 149, 0.2); }

.sol-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sol-card-emoji { font-size: 24px; }
.sol-card-amt { font-size: 12px; font-weight: 700; background: #FFF0F5; color: #E52E99; padding: 4px 10px; border-radius: 99px; }
.sol-card-msg { font-size: 14px; color: #444; line-height: 1.5; margin-bottom: 15px; font-weight: 500; }
.sol-card-meta { display: flex; justify-content: space-between; font-size: 11px; color: #999; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; border-top: 1px solid #f5f5f5; padding-top: 15px; }

/* MOBILE */
@media (max-width: 768px) {
    .sol-fan-grid { grid-template-columns: 1fr; gap: 20px; }
    .sol-podium { flex-direction: column; align-items: center; gap: 20px; }
    .sol-podium-card.rank-gold { order: 1; transform: none; width: 100%; max-width: 100%; }
    .sol-podium-card { width: 100%; max-width: 100%; order: 2; }
    
    .sol-fan-form-card { padding: 20px; border-radius: 24px; }
    .sol-input-row { flex-direction: column; gap: 10px; }
    
    /* Mobile Modal Optimization */
    .sol-fan-modal { max-width: 90%; }
    .sol-modal-body { padding: 30px 20px; } /* Less padding on mobile */
    .sol-modal-close-abs { top: 10px; right: 10px; }
    
    /* Hide QR Code on Mobile */
    .sol-col-qr { display: none !important; }
    
    .sol-col-details { width: 100%; }
    .sol-truncate { max-width: 120px; }
}