/* Settings Page Styles */

/* Subscription Tier Cards */
.subscription-tier-premium {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.subscription-tier-free {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Tier Header */
.tier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Tier Icons */
.tier-icon-premium {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
    color: white;
}

.tier-icon-premium svg {
    width: 28px;
    height: 28px;
}

.tier-icon-free {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
}

.tier-icon-free svg {
    width: 28px;
    height: 28px;
}

/* Tier Info */
.tier-info {
    flex: 1;
    color: #1f2937;
}

.tier-info-premium {
    flex: 1;
}

.tier-info-premium h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #92400e;
}

.tier-info-premium p {
    margin: 0;
    color: #78350f;
    font-size: 0.875rem;
}

.tier-info-free {
    flex: 1;
}

.tier-info-free h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #1f2937;
}

.tier-info-free p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Status Badge */
.tier-status-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    flex-wrap: wrap;
}

.tier-status-label {
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 600;
    white-space: nowrap;
}

.tier-status-value {
    font-size: 0.875rem;
    color: #b45309;
    font-weight: 500;
    text-align: right;
    flex: 1;
    min-width: fit-content;
}

/* Usage Stats */
.usage-stats {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.usage-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.usage-stat:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.usage-stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.usage-stat-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
}

.usage-stat-bar {
    width: 100%;
    height: 4px;
    background: #f3f4f6;
    border-radius: 2px;
    margin-top: 0.25rem;
    overflow: hidden;
}

.usage-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Upgrade Button */
.btn-upgrade {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upgrade:hover {
}

.btn-upgrade:active {
}

/* Cancel Subscription Button */
.tier-status-row {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.tier-status-badge {
    flex: 1;
}

.btn-cancel-subscription-link {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.btn-cancel-subscription-link:hover {
    color: #b91c1c;
    background: #fee2e2;
    text-decoration: underline;
}

.btn-cancel-subscription-link:active {
    background: #fecaca;
}

/* Legacy full-width button style (keep for backwards compatibility) */
.btn-cancel-subscription {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-subscription:hover {
    background: #b91c1c;
}

.btn-cancel-subscription:active {
}

/* Hidden Data Notice */
.hidden-data-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #92400e;
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
    line-height: 1.5;
}

.notice-content strong {
    font-weight: 600;
    color: #78350f;
}

.notice-link {
    color: #d97706;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #d97706;
    transition: all 0.2s ease;
}

.notice-link:hover {
    color: #b45309;
    border-bottom-color: #b45309;
}
