/* ============================================
   Page-Specific Styles
   Extracted from inline style attributes
   ============================================ */

/* ============================================
   Pricing Page Styles
   ============================================ */
.pricing-month-label {
    font-size: 0.9rem;
    color: var(--tg-body-font-color);
}

.pricing-description {
    color: var(--tg-body-font-color);
}

.pricing-btn-current-plan {
    background: rgba(0, 200, 0, 0.2) !important;
    color: #00c800 !important;
    cursor: default !important;
}

.pricing-btn-disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.pricing-buttons-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pricing-buttons-group .gradient-btn {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}

@media (max-width: 576px) {
    .pricing-buttons-group {
        flex-direction: column;
        width: 100%;
    }
    
    .pricing-buttons-group .gradient-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================
   Profile Page Styles
   ============================================ */
.profile-section, .subscription-section, .no-subscription-section {
    background: var(--tg-black-two);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-section .section-title {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.profile-info-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--tg-heading-font-color);
}

.info-value {
    color: var(--tg-body-font-color);
}

.info-value a {
    color: var(--tg-primary-color);
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.info-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    font-style: italic;
    margin-left: 0.5rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.profile-invoice-link {
    margin-left: 1rem;
}

.subscription-card, .no-subscription-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1.5rem;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tg-heading-font-color);
    margin: 0;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(0, 200, 0, 0.2);
    color: #00c800;
}

.status-inactive, .status-cancelled {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6464;
}

.subscription-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
}

.detail-label {
    font-weight: 600;
    color: var(--tg-heading-font-color);
}

.detail-value {
    color: var(--tg-body-font-color);
}

.no-subscription-card {
    text-align: center;
    padding: 3rem 2rem;
}

.no-subscription-card p {
    color: var(--tg-body-font-color);
    margin-bottom: 1.5rem;
}

.profile-avatar-wrapper {
    margin-bottom: 1rem;
}

.profile-avatar-current {
    max-width: 150px;
    border-radius: 8px;
}

.profile-avatar-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #999;
}

.profile-avatar-upload-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 768px) {
    .info-row, .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .subscription-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .profile-actions {
        flex-direction: column;
    }
}


/* ============================================
   Profile Form Actions
   ============================================ */
.profile-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.profile-form-actions .sine-btn {
    flex: 1;
}

.profile-form-actions .btn-cancel {
    background: transparent !important;
    border: 2px solid var(--tg-primary-color) !important;
    color: var(--tg-primary-color) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.profile-form-actions .btn-cancel:hover {
    background: var(--tg-primary-color) !important;
    color: var(--tg-white) !important;
}

/* ============================================
   Dashboard Page Styles
   ============================================ */
.dashboard-text-secondary {
    color: var(--text-secondary);
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.dashboard-stat-card {
    text-align: center;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.dashboard-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.dashboard-stat-value-secondary {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.dashboard-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ============================================
   Checkout Page Styles
   ============================================ */
.checkout-success-icon {
    font-size: 4rem;
    color: var(--tg-cyan);
}

.checkout-cancel-icon {
    font-size: 4rem;
    color: var(--tg-red);
}

.checkout-list-left {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.checkout-home-link {
    margin-left: 1rem;
}

