﻿/* Auto-generated CSS file for Referral views */
/* Generated on: 2025-08-05 11:18:37 */
/* Project: Member */

/* From: Index.cshtml */
.referral-container {
padding: 20px;
}

.referral-header {
text-align: center;
margin-bottom: 30px;
color: var(--text-secondary-color);
}

.referral-header h1 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
color: var(--text-secondary-color);
}

.referral-link-container {
background: rgba(255, 255, 255, 0.5);
border-radius: 16px;
padding: 0.7rem;
border: 1px solid rgba(255, 215, 0, 0.2);
}

.qr-section {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 16px;
padding: 12px;
background: #f8f9fa;
border-radius: 12px;
}

.qr-code-preview {
width: 80px;
height: 80px;
background: white;
border-radius: 8px;
border: 2px solid var(--primary-color, #0272FF);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}

.qr-code-preview:hover {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(2, 114, 255, 0.3);
}

.qr-code-preview i {
font-size: 24px;
color: var(--primary-color, #0272FF);
}

.qr-info {
flex: 1;
}

.qr-info h5 {
margin: 0 0 4px 0;
font-size: 14px;
font-weight: 600;
color: #333;
}

.qr-info p {
margin: 0;
font-size: 12px;
color: #666;
line-height: 1.4;
}

.referral-link {
font-family: 'Courier New', monospace;
font-size: 11px;
word-break: break-all;
background-color: #f8f9fa;
padding: 12px;
border-radius: 8px;
border: 1px solid #e9ecef;
text-align: left;
max-height: 50px;
overflow-y: auto;
margin-bottom: 12px;
color: #495057;
}

.action-buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}

.copy-button, .share-button {
transition: all 0.3s ease;
font-size: 12px;
padding: 8px 12px;
border-radius: 8px;
border: none;
font-weight: 600;
}

.copy-button {
background-color: var(--primary-color, #0272FF);
color: white;
}

.share-button {
background-color: var(--success-color, #28a745);
color: white;
}

.copy-button:hover, .share-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.copy-success {
color: #28a745;
font-size: 12px;
margin-top: 10px;
display: none;
animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
0% { opacity: 0; transform: translateY(10px); }
20% { opacity: 1; transform: translateY(0); }
80% { opacity: 1; transform: translateY(0); }
100% { opacity: 0; transform: translateY(-10px); }
}

.referral-bonus-item {
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
margin-bottom: 12px;
padding: 16px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
border-left: 3px solid var(--primary-color, #0272FF);
display: flex;
align-items: center;
justify-content: space-between;
}

.referral-bonus-item:hover {
transform: translateY(-1px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.bonus-left {
display: flex;
align-items: center;
flex: 1;
}

.bonus-icon {
width: 45px;
height: 45px;
background-color: var(--primary-color, #0272FF);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 12px;
color: white;
font-size: 18px;
font-weight: bold;
}

.bonus-info {
flex: 1;
}

.bonus-amount {
font-size: 1.2rem;
font-weight: 700;
color: #333;
margin: 0;
line-height: 1.2;
}

.bonus-type {
font-size: 0.75rem;
color: #666;
background: #f8f9fa;
padding: 2px 8px;
border-radius: 8px;
display: inline-block;
margin-top: 2px;
}

.bonus-details {
font-size: 0.7rem;
color: #999;
margin-top: 4px;
line-height: 1.3;
}

.claim-btn {
background-color: var(--primary-color, #0272FF);
color: white;
border: none;
padding: 8px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(2, 114, 255, 0.25);
min-width: 70px;
}

.claim-btn:hover {
background: linear-gradient(135deg, #ffed4a, #fff176);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

.claim-btn:disabled {
background: #e0e0e0;
color: #999;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

.coin-heartbeat {
pointer-events: none;
position: absolute;
right: -25px;
top: -25px;
z-index: 5;
opacity: 0;
transition: opacity 0.3s ease;
}

.coin-heartbeat.show {
opacity: 1;
}

.coin-heartbeat__ring {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 24px;
height: 24px;
border: 2px solid var(--primary-color, #0272FF);
border-radius: 50%;
animation: coinHeartbeatRing 2s ease-in-out infinite;
}

.coin-heartbeat__image {
transform: translate(-50%, -50%) scale(1);
position: relative;
z-index: 1;
animation: coinHeartbeatImage 2s ease-in-out infinite;
}

@keyframes coinHeartbeatRing {
        0%, 100% {
transform: translate(-50%, -50%) scale(0.3);
opacity: 0.8;
}
        50% {
transform: translate(-50%, -50%) scale(0.5);
opacity: 0.3;
}
}

@keyframes coinHeartbeatImage {
        0%, 100% {
transform: scale(0.3);
}
        25% {
transform: scale(0.4);
}
        50% {
transform: scale(0.3);
}
        75% {
transform: scale(0.35);
}
}

.master-tab {
flex: 1 1 0;
background-color: #ccc;
color: #000;
text-decoration: none;
transition: background-color 0.2s ease;
border: 1px solid #bbb;
text-align: center;
padding: 10px 0;
white-space: nowrap;
}

.master-tab.active,
.master-tab[aria-expanded="true"] {
background-color: var(--primary-color, #0272FF);
color: white !important;
}

.master-tab i {
vertical-align: middle;
margin-right: 5px;
}

.referral-section-header {
background-color: var(--secondary-color, #764BA2);
color: var(--text-secondary-color);
}

.no-bonuses {
text-align: center;
padding: 20px 20px;
color: #666;
}

.no-bonuses img {
width: 80px;
opacity: 0.7;
}

    /* QR Modal Styles */
#qrCodeModal {
z-index: 100005 !important;
}

#qrCodeModal .modal-backdrop {
z-index: 100004 !important;
}

#qrCodeModal .modal-content {
position: relative;
z-index: 100006 !important;
border-radius: 16px;
border: none;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#qrCodeModal .modal-header {
border-bottom: 1px solid #f0f0f0;
padding: 20px 24px 16px;
}

#qrCodeModal .modal-body {
padding: 20px 24px;
}

#qrCodeModal .modal-footer {
border-top: 1px solid #f0f0f0;
padding: 16px 24px 20px;
}

    /* Custom Claim Confirmation Modal Styles */
.claim-confirm-modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(8px);
}

.claim-confirm-modal-content {
position: relative;
background: linear-gradient(145deg, #ffffff, #f8f9fa);
margin: 10% auto;
padding: 0;
border: 1px solid #e9ecef;
border-radius: 12px;
width: 90%;
max-width: 400px;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
animation: modalSlideIn 0.3s ease-out;
color: #333;
}

@keyframes modalSlideIn {
        from {
opacity: 0;
transform: translateY(-50px) scale(0.9);
}
        to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

.claim-confirm-modal-header {
padding: 25px 30px 20px;
border-bottom: 2px solid #e9ecef;
display: flex;
justify-content: space-between;
align-items: center;
background-color: var(--secondary-color, #764BA2);
color: white;
border-radius: 12px 12px 0 0;
}

.claim-confirm-modal-title {
color: white;
font-size: 20px;
font-weight: 700;
margin: 0;
display: flex;
align-items: center;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.claim-confirm-modal-title i {
margin-right: 12px;
color: var(--primary-color, #0272FF);
}

.claim-confirm-modal-close {
background: rgba(255, 255, 255, 0.2);
border: none;
font-size: 24px;
color: white;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
font-weight: bold;
}

.claim-confirm-modal-close:hover {
background-color: rgba(255, 255, 255, 0.3);
transform: rotate(90deg);
}

.claim-confirm-modal-body {
padding: 25px 30px;
color: #444;
line-height: 1.7;
text-align: center;
font-size: 15px;
}

.claim-confirm-modal-body h4 {
color: #2c3e50;
margin-bottom: 18px;
font-size: 18px;
}

.claim-confirm-modal-body p {
margin-bottom: 20px;
color: #666;
}

.claim-confirm-modal-footer {
padding: 20px 30px 25px;
border-top: 1px solid #e9ecef;
display: flex;
justify-content: center;
gap: 15px;
}

.claim-confirm-btn {
background-color: var(--success-color, #28a745);
color: white;
border: none;
padding: 12px 25px;
border-radius: 25px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.claim-confirm-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.claim-cancel-btn {
background: #6c757d;
color: white;
border: none;
padding: 12px 25px;
border-radius: 25px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}

.claim-cancel-btn:hover {
background: #5a6268;
transform: translateY(-2px);
}

@media (max-width: 768px) {
.referral-header h1 {
font-size: 2rem;
}
        
.referral-bonus-item {
padding: 12px;
}

.bonus-icon {
width: 40px;
height: 40px;
font-size: 16px;
margin-right: 10px;
}

.bonus-amount {
font-size: 1.1rem;
}

.bonus-type {
font-size: 0.7rem;
}

.bonus-details {
font-size: 0.65rem;
}

.claim-btn {
padding: 6px 12px;
font-size: 11px;
min-width: 60px;
}
        
.referral-link {
font-size: 10px;
}

.qr-section {
padding: 10px;
gap: 12px;
}

.qr-code-preview {
width: 70px;
height: 70px;
}

.qr-code-preview i {
font-size: 20px;
}

.qr-info h5 {
font-size: 13px;
}

.qr-info p {
font-size: 11px;
}

.action-buttons {
grid-template-columns: 1fr 1fr;
gap: 6px;
}

.copy-button, .share-button {
font-size: 11px;
padding: 8px 10px;
}
}

.btn-whatsapp {
    background-color: #36E456 !important;
}