/* Main credits display */
.pac-my-credits {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

.pac-credit-balance {
    font-size: 24px;
    margin-bottom: 15px;
}

.pac-credit-balance .credit-amount {
    font-weight: bold;
    color: #2c8a4a;
}

.pac-credit-balance .credit-label {
    color: #666;
}

/* Credit history table */
.pac-credit-history table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pac-credit-history th {
    text-align: left;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.pac-credit-history td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.pac-credit-history tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Admin styles */
.pac-user-details {
    margin-top: 20px;
}

.pac-current-credits {
    background: #f5f5f5;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #2c8a4a;
}

.pac-current-credits h3 {
    margin-top: 0;
}

/* Payment method */
.payment_method_pac_credit_payment .payment_box {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.payment_method_pac_credit_payment .payment_box:before {
    display: none;
}

/* Shortcode Container */
.pac-credits-shortcode {
    margin: 0 0 30px;
    padding: 0;
}

/* Balance Section */
.pac-credits-shortcode .pac-credit-balance {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

.pac-credits-shortcode .balance-display {
    font-size: 24px;
    margin-bottom: 15px;
}

.pac-credits-shortcode .credit-amount {
    font-weight: bold;
    color: #2c8a4a;
}

.pac-credits-shortcode .credit-label {
    color: #666;
    margin-left: 5px;
}

/* History Section */
.pac-credits-shortcode .pac-credit-history table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pac-credits-shortcode .pac-credit-history th {
    text-align: left;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
	color: #000!important;
}

.pac-credits-shortcode .pac-credit-history td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.pac-credits-shortcode .pac-credit-history tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Buttons */
.pac-credits-shortcode .button {
    margin-right: 10px;
    display: inline-block;
}

.pac-credit-history th {
	color: #000!important;
}