/* PMPro Custom Styles - Pitch Black Theme */

/* General Container */
#pmpro_levels,
#pmpro_account,
#pmpro_checkout,
#pmpro_confirmation,
.pmpro-dark-wrapper .pmpro_card,
.pmpro-dark-wrapper .pmpro_box {
    color: #ffffff !important;
}

/* Headings */
#pmpro_levels h1,
#pmpro_levels h2,
#pmpro_levels h3,
#pmpro_levels h4,
#pmpro_account h1,
#pmpro_account h2,
#pmpro_account h3,
#pmpro_account h4,
#pmpro_checkout h1,
#pmpro_checkout h2,
#pmpro_checkout h3,
#pmpro_checkout h4,
#pmpro_confirmation h1,
#pmpro_confirmation h2,
#pmpro_confirmation h3,
#pmpro_confirmation h4,
.pmpro_card-title,
.pmpro_account_box_heading,
.pmpro_level-title {
    color: #ffffff !important;
    font-family: var(--font-heading, system-ui);
}

/* After Subscription text */
#pmpro_confirmation {
    background: #000000 !important;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

#pmpro_confirmation p,
#pmpro_confirmation div,
#pmpro_confirmation span,
#pmpro_confirmation li {
    color: #ffffff !important;
}

/* Levels Table */
table#pmpro_levels_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2rem;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    overflow: hidden;
}

table#pmpro_levels_table th,
table#pmpro_levels_table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #1f1f1f;
    color: #d4d4d8;
}

table#pmpro_levels_table th {
    background: #111;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

table#pmpro_levels_table tr:last-child td {
    border-bottom: none;
}

/* Buttons */
a.pmpro_btn,
input.pmpro_btn,
.pmpro_btn {
    display: inline-block;
    background: #fff !important;
    color: #000 !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

a.pmpro_btn:hover,
input.pmpro_btn:hover,
.pmpro_btn:hover {
    background: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    color: #000 !important;
}

/* Forms */
.pmpro_checkout input[type="text"],
.pmpro_checkout input[type="password"],
.pmpro_checkout input[type="email"],
.pmpro_checkout select,
.pmpro_checkout textarea {
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
}

.pmpro_checkout input:focus,
.pmpro_checkout select:focus,
.pmpro_checkout textarea:focus {
    outline: none;
    border-color: var(--color-primary, #00f3ff);
    box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.1);
}

.pmpro_checkout label {
    color: #d4d4d4;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

/* Alerts / Messages */
.pmpro_message {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: #00f3ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pmpro_error {
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.2);
    color: #ff3b3b;
}

/* Billing & Account */
#pmpro_account-membership,
#pmpro_account-profile,
#pmpro_account-invoices {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

#pmpro_account h3 {
    color: #fff;
    margin-top: 0;
    font-size: 1.25rem;
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Links */
.pmpro_a-print {
    color: var(--color-text-muted, #888);
    text-decoration: none;
    font-size: 0.9em;
}

.pmpro_a-print:hover {
    color: #fff;
}