/* =====================================================
   ABONELİĞİM SAYFASI
   ===================================================== */

.fanchaty-subscription-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 80vh;
}

/* Üst Başlık */
.subscription-header {
    text-align: center;
    margin-bottom: 40px;
}

.subscription-header-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 20px 0 10px;
}

.subscription-header-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin: 0;
}

.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.badge-icon {
    font-size: 18px;
}

/* Grid Layout */
.subscription-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .subscription-grid {
        grid-template-columns: 1fr;
    }
}

/* Kartlar */
.subscription-card {
    background: linear-gradient(145deg, rgba(35, 35, 40, 0.95) 0%, rgba(25, 25, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(39, 174, 96, 0.2);
    color: #4ade80;
}

.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.card-body {
    padding: 24px;
}

/* Bilgi Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.info-value.highlight {
    color: #dd4791;
}

/* Sonraki Token Bilgisi */
.next-token-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(221, 71, 145, 0.1);
    border: 1px solid rgba(221, 71, 145, 0.2);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.token-icon {
    font-size: 20px;
}

/* Kart Aksiyonları */
.card-actions {
    display: flex;
    gap: 12px;
}

.btn-extend {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-extend:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(221, 71, 145, 0.3);
    color: white;
}

.btn-cancel {
    padding: 14px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Token Kartı */
.token-card .card-body {
    text-align: center;
}

.token-balance {
    margin-bottom: 24px;
}

.balance-number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.balance-label {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.token-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.btn-buy-tokens {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-buy-tokens:hover {
    background: rgba(221, 71, 145, 0.1);
    border-color: rgba(221, 71, 145, 0.3);
    color: white;
}

/* Hızlı Linkler */
.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(221, 71, 145, 0.2);
    transform: translateX(4px);
}

.link-icon {
    font-size: 24px;
}

.link-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}

.link-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.quick-link:hover .link-arrow {
    transform: translateX(4px);
    color: #dd4791;
}

/* İptal Modal */
.cancel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cancel-modal.active {
    opacity: 1;
    visibility: visible;
}

.cancel-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.cancel-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    max-width: 450px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cancel-modal.active .cancel-modal-content {
    transform: scale(1);
}

.cancel-modal-content h3 {
    font-size: 22px;
    color: #ffffff;
    margin: 0 0 12px;
}

.cancel-modal-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.cancel-info {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 14px;
    border-radius: 10px;
    font-size: 13px !important;
}

.cancel-reason {
    margin: 20px 0;
}

.cancel-reason label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 8px;
}

.cancel-reason textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.cancel-reason textarea:focus {
    outline: none;
    border-color: rgba(221, 71, 145, 0.5);
}

.cancel-actions {
    display: flex;
    gap: 12px;
}

.btn-keep {
    flex: 1;
    padding: 14px 20px;
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-keep:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(221, 71, 145, 0.3);
}

.btn-confirm-cancel {
    padding: 14px 20px;
    background: transparent;
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-cancel:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-confirm-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Auth Required */
.fanchaty-auth-required {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.fanchaty-auth-required .fanchaty-btn-primary {
    margin-top: 20px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #dd4791 0%, #534fe0 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}