.creditbuy_header {
    background: linear-gradient(135deg, #2d7a3e 0%, #3d9a4f 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.creditbuy_header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
}

/* Info Cards */
.creditbuy_info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.creditbuy_card {
    background: rgba(45, 122, 62, 0.15);
    border: 2px solid rgba(45, 122, 62, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.creditbuy_card-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.creditbuy_card-value {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.creditbuy_highlight {
    color: #ffeb3b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Button Group */
.creditbuy_button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.creditbuy_btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.creditbuy_btn-primary {
    background-color: #2d7a3e;
    color: white;
}

.creditbuy_btn-primary:hover {
    background-color: #236230;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.creditbuy_btn-secondary {
    background-color: #666;
    color: white;
}

.creditbuy_btn-secondary:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.creditbuy_btn-submit {
    background-color: #2d7a3e;
    color: white;
    font-size: 16px;
    padding: 14px 32px;
}

.creditbuy_btn-submit:hover {
    background-color: #236230;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Notice Boxes */
.creditbuy_notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.creditbuy_notice-warning {
    background-color: #fff9e6;
    border-left-color: #ffc107;
    color: #856404;
}

/* Content Section */
.creditbuy_content-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.creditbuy_content-section h2 {
    color: #2d7a3e;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #2d7a3e;
    padding-bottom: 10px;
}

.creditbuy_intro {
    margin-bottom: 30px;
}

.creditbuy_intro p {
    margin: 10px 0;
}

/* Form Styles */
.creditbuy_form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.creditbuy_form-group {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.creditbuy_form-label {
    font-weight: 600;
    color: #2d7a3e;
    padding-top: 8px;
    text-align: right;
}

.creditbuy_form-value {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.creditbuy_stable-name {
    font-weight: 600;
    color: #333;
    padding: 8px 0;
}

.creditbuy_input {
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    width: 200px;
    transition: border-color 0.3s ease;
}

.creditbuy_input:focus {
    outline: none;
    border-color: #2d7a3e;
}

.creditbuy_input-hint {
    color: #666;
    font-size: 13px;
}

.creditbuy_form-note {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 3px solid #2d7a3e;
}

.creditbuy_form-note p {
    margin: 0;
    color: #333;
}

.creditbuy_form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Additional Info */
.creditbuy_additional-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.creditbuy_additional-info p {
    margin: 10px 0;
}

.creditbuy_additional-info a {
    color: #2d7a3e;
    text-decoration: none;
    font-weight: 600;
}

.creditbuy_additional-info a:hover {
    text-decoration: underline;
}

/* Important Notice Box */
.creditbuy_important-notice {
    background: #ffebee;
    border: 3px solid #d32f2f;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.creditbuy_important-notice h3 {
    color: #d32f2f;
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 15px;
}

.creditbuy_important-notice p {
    margin: 12px 0;
    color: #333;
}

.creditbuy_important-notice ul {
    margin: 15px 0;
    padding-left: 25px;
}

.creditbuy_important-notice li {
    margin: 8px 0;
    color: #333;
}

.creditbuy_important-notice a {
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
}

.creditbuy_important-notice a:hover {
    text-decoration: underline;
}

/* Login Message */
.creditbuy_login-message {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.creditbuy_login-message p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .creditbuy_header h1 {
        font-size: 22px;
    }
    
    .creditbuy_form-group {
        grid-template-columns: 1fr;
    }
    
    .creditbuy_form-label {
        text-align: left;
        padding-top: 0;
    }
    
    .creditbuy_button-group {
        flex-direction: column;
    }
    
    .creditbuy_btn {
        width: 100%;
        text-align: center;
    }
}

/* PayPal Purchase Table */
.creditbuy_paypal-table {
    overflow-x: auto;
    margin: 20px 0;
}

.creditbuy_table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.creditbuy_table thead {
    background-color: #2d7a3e;
    color: white;
}

.creditbuy_table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.creditbuy_table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.creditbuy_table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.creditbuy_table tbody tr:hover {
    background-color: #e8f5e9;
}

.creditbuy_table td {
    padding: 12px 15px;
    text-align: center;
}

.creditbuy_amount {
    font-weight: 600;
    color: #2d7a3e;
    background-color: #f0f7f1 !important;
    text-align: right;
}

.creditbuy_credits {
    text-align: right;
    color: #333;
}

.creditbuy_total-credits {
    font-weight: 600;
    text-align: right;
    color: #2d7a3e;
}

.creditbuy_paypal-cell {
    text-align: center;
}

.creditbuy_paypal-cell form {
    display: inline-block;
    margin: 5px 0;
}

.creditbuy_paypal-cell input[type="image"] {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.creditbuy_paypal-cell input[type="image"]:hover {
    transform: scale(1.05);
}

/* Check/Money Order Info */
.creditbuy_check-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #2d7a3e;
}

.creditbuy_check-info h3 {
    color: #2d7a3e;
    margin-top: 0;
    font-size: 18px;
}

.creditbuy_address {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    margin: 15px 0;
    text-align: center;
}

.creditbuy_address strong {
    color: #333;
    line-height: 1.8;
}

/* Info Notice Box */
.creditbuy_notice-info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
    color: #0d47a1;
}

/* Additional responsive styles for table */
@media (max-width: 768px) {
    .creditbuy_table {
        font-size: 13px;
    }
    
    .creditbuy_table th,
    .creditbuy_table td {
        padding: 8px 6px;
    }
}

/* Credit Card Purchase Form Styles - All classes prefixed with ccbuy_ */

