/* ========================================
   INFLUENCER_PLANS.CSS - Plans Page Specific Styles
   Global styles moved to base.css
   ======================================== */

/* ========================================
   PAGE-SPECIFIC BUTTON STYLES
   ======================================== */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 0;
    transition: color 0.2s ease;
    border: none;
    outline: none;
}

.btn-text:hover {
    color: #0f172a;
    text-decoration: none;
}

.btn-text:focus,
.btn-text:focus-visible,
.btn-text:active {
    outline: none;
    color: #0f172a;
}

.btn-text svg {
    transition: transform 0.2s ease;
}

.btn-text:hover svg {
    transform: translateX(-3px);
}

/* ========================================
   LOGIN PROMPT
   ======================================== */
.login-prompt {
    background: rgba(255, 198, 0, 0.1);
    box-shadow: 0 0 2px #ffc600;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.login-prompt svg {
    width: 35px;
    height: 35px;
}

.login-prompt svg path {
    fill: #e3b000;
}

.login-prompt a {
    color: inherit;
}

.login-prompt .text-section {
    padding-left: 20px;
}

.login-prompt strong {
    color: #000;
    display: block;
}

.login-prompt span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   PLANS SECTION
   ======================================== */
.plans-section {
    padding: 10px 0 0 0;
}

.plans-grid-wrapper {
    background: #fff;
    border-radius: 20px;
    margin: 0 0 20px 0;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffc600 0%, rgb(190 112 7) 100%);
    border-radius: 2px;
}

.plans-grid-full {
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
    margin-left: -10px;
    width: calc(100% + 20px);
}

.no-plans-message {
    padding-top: 10px;
}

/* ========================================
   PLAN CARD
   ======================================== */
.plan-card-full {
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc(33.33% - 20px);
    margin: 10px;
    box-shadow: var(--shadow-sm);
}

.plan-card-full:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

/* Popular Card */
.plan-card-full.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.2);
}

.plan-header {
    text-align: left;
    margin-bottom: 0px;
}

.plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.plan-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-price {
    text-align: left;
    margin: 0;
    padding: 20px 0;
    border-top: 0;
    border-bottom: 0;
    display: flex;
}

.price-amount-wrap {
    display: flex;
    align-items: flex-end;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
    margin-right: 2px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
    margin-left: 5px;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.feature-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #be7007;
    margin-top: 2px;
}

.plan-action {
    margin-top: auto;
    width: 100%;
}

.btn-select-plan {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
}

.btn-select-plan:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(15, 23, 42, 0.15);
}

.btn-select-plan:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--border-light);
    color: var(--text-muted);
    box-shadow: none;
    transform: none;
    filter: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .plan-card-full {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .plans-section {
        padding: 40px 0;
    }
    .plan-card-full {
        width: 100%;
    }
}
