﻿/* Credits page styles - drop into wwwroot/css/credits.css */

/* Page container */
.credits-container {
    max-width: 1100px;
    margin-top: 41px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #a855f7;
}

/* Header & balance */
.credits-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

    .credits-header h1 {
        margin: 0;
        font-size: 1.6rem;
    }

.balance-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(31,41,55,0.03);
    min-width: 140px;
    text-align: center;
}

.balance-label {
    font-size: 0.85rem;
}

.balance-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b74ff;
}

.balance-small {
    font-size: 0.8rem;
    color: #888;
}

/* Subtext */
.credits-sub {
    margin: 10px 0 18px;
    color: #ffffff;
    font-size: 0.95rem;
}

/* Grid of plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* Card */
.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform .12s ease, box-shadow .12s ease;
    min-height: 220px;
}

    .plan-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 36px rgba(15,23,42,0.08);
    }

/* Top row: title + credits */
.plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.plan-title {
    font-size: 1.05rem;
    margin: 0;
    color: #18202e;
}

.plan-credits {
    font-weight: 700;
    color: #0b74ff;
    font-size: 1.2rem;
}

    .plan-credits .small {
        font-weight: 400;
        font-size: 0.8rem;
        color: #6b7280;
        margin-left: 6px;
    }

/* Price */
.plan-price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-top: 12px;
}

.price-amt {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0b74ff;
    line-height: 1;
}

.price-currency {
    font-size: 0.9rem;
    color: #374151;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* Features */
.plan-features {
    margin: 14px 0;
    padding-left: 18px;
    color: #374151;
    font-size: 0.92rem;
    line-height: 1.5;
}

    .plan-features li {
        margin-bottom: 6px;
    }

/* Actions */
.plan-actions {
    margin-top: 6px;
    display: flex;
    justify-content: center;
}

.btn-buy {
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .12s ease, transform .08s ease;
}

    .btn-buy:hover {
        opacity: 0.95;
        border-color: #8b5cf6;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    }

    .btn-buy:disabled {
        opacity: .6;
        cursor: wait;
    }

/* Message box */
.page-message {
    margin-top: 18px;
    font-size: 0.95rem;
    color: #0b4f22;
}

/* Responsive tweaks */
@media (max-width:640px) {
    .credits-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .balance-card {
        width: 100%;
        justify-content: flex-start;
    }
}

.gradient-button {
    background: linear-gradient(90deg, #d946ef, #f9a826);
    border: none;
    border-radius: 9999px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

    .gradient-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

    .gradient-button:active {
        transform: scale(0.97);
    }

.info-box {
    background-color: #5339a7;
    color: #facc15;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    font-family: sans-serif;
}

/* Small self-contained styles (move to videomaker.css if you want) */



/* new css add*/ /* new css add*/ /* new css add*/ /* new css add*/ /* new css add*/


.plan-card {
    background-color: #222222;
}

.balance-value {
    color: #FFAE00 !important;
}


.balance-card {
    background-color: #282828 !important;
    border: Nonne !important;
    ;
}

body {
    background-color: #141414; /* Light gray */
}

.plan-title {
    color: #fff !important;
}

.plan-features {
    color: #ffffff !important;
}









.price-amt {
    color: #a855f7 !important;
}


.price-currency {
    color: #a7a7a7 !important;
}

.plan-credits {
    color: #ffffff !important;
}




/* new css end*/ /* new css end*/ /* new css end*/ /* new css end*/ /* new css end*/
















.credit-buy-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.credit-card-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, #fff6e6 0%, #ffd6a6 50%, #ffb86b 100%);
    box-shadow: 0 6px 18px rgba(21, 32, 71, 0.10);
    border: 1px solid rgba(0,0,0,0.04);
    color: #0b1220;
    text-decoration: none;
    min-width: 140px;
}

    .credit-card-btn .coin-icon {
        width: 38px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(180deg,#fff 0%, rgba(255,255,255,0.7) 100%);
        box-shadow: inset 0 -4px 8px rgba(0,0,0,0.04);
        font-size: 16px;
    }

.credit-info {
    line-height: 1;
    text-align: left;
}

    .credit-info .credits-label {
        font-size: 11px;
        color: rgba(11,18,32,0.55);
        font-weight: 600;
    }

    .credit-info .credits-value {
        font-size: 14px;
        font-weight: 800;
    }

.buy-btn {
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg,#4f46e5,#06b6d4);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(79,70,229,0.18);
}

/* compact on small screens */
@media (max-width:540px) {
    .credit-card-btn {
        min-width: 120px;
        padding: 8px;
        gap: 8px;
    }

        .credit-card-btn .coin-icon {
            width: 34px;
            height: 34px;
            font-size: 14px;
        }

    .credit-info .credits-label {
        display: none;
    }
    /* keep minimal on phones */
    .buy-btn {
        padding: 7px 10px;
        font-size: 14px;
    }
}