/* === My Account Page - Neon Dark Theme === */

/* 1. Benefits Cards (Horizontal Grid) */
.rtc-benefits-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.rtc-benefit-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rtc-benefit-card:hover {
    transform: translateY(-10px);
    border-color: #f8bb2f;
    box-shadow: 0 20px 50px rgba(248, 187, 47, 0.15);
}

.rtc-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(30, 56, 239, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    color: #f8bb2f;
    border: 1px solid rgba(248, 187, 47, 0.3);
}

.rtc-benefit-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.rtc-benefit-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}


/* 2. Login/Register Forms (WooCommerce) */
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    width: auto !important;
    /* Allow Grid to control width */
    grid-column: span 1;
    float: none !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

/* Form Container */
#customer_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Side by side on desktop if space allows */
    gap: 40px;
}

@media (max-width: 768px) {
    #customer_login {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.u-column1,
.u-column2 {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.u-column1:hover,
.u-column2:hover {
    border-color: #1e38ef;
    transform: translateY(-5px);
}

/* Headings */
#customer_login h2 {
    color: #f8bb2f;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    text-align: center;
}

/* Inputs (Reinforced) */
.woocommerce form .form-row input.input-text {
    background-color: #0f172a !important;
    color: #fff !important;
    border: 1px solid #475569 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
}

.woocommerce form .form-row input.input-text:focus {
    border-color: #1e38ef !important;
    box-shadow: 0 0 15px rgba(30, 56, 239, 0.3) !important;
}

/* Labels */
.woocommerce form .form-row label {
    color: #cbd5e1 !important;
    font-weight: 500;
}

/* Buttons */
.woocommerce button.button {
    background: linear-gradient(135deg, #1e38ef, #4361ee) !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce button.button:hover {
    box-shadow: 0 0 30px rgba(30, 56, 239, 0.6) !important;
    transform: scale(1.02);
}


/* 4. Dashboard (Logged In) Layout */
.woocommerce-MyAccount-navigation {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 25px;
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #1e38ef;
    color: #fff;
    box-shadow: 0 5px 15px rgba(30, 56, 239, 0.4);
    border-color: #1e38ef;
}

/* Dashboard Content */
.woocommerce-MyAccount-content {
    background: #1e293b;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.woocommerce-MyAccount-content p {
    color: #cbd5e1;
}

.woocommerce-MyAccount-content strong {
    color: #f8bb2f;
}

/* Orders Table */
.my_account_orders {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.my_account_orders thead th {
    background: #1e38ef;
    color: #fff;
    padding: 15px;
    border: none;
    text-align: left;
}

.my_account_orders td {
    background: #0f172a;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
}

.my_account_orders .button {
    background: transparent !important;
    border: 1px solid #f8bb2f !important;
    color: #f8bb2f !important;
    padding: 8px 15px !important;
    font-size: 0.85rem !important;
    border-radius: 4px !important;
}

.my_account_orders .button:hover {
    background: #f8bb2f !important;
    color: #000 !important;
}