body {
    margin: 0;
    padding: 0;
    background: #fff;
}

.test-env-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    font-family: monospace;
}

.test-env-banner strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #856404;
}

.test-env-banner table {
    border-collapse: collapse;
    width: 100%;
}

.test-env-banner td {
    padding: 2px 12px 2px 0;
    color: #555;
    vertical-align: top;
}

.test-env-banner td:first-child {
    color: #856404;
    font-weight: bold;
    white-space: nowrap;
    width: 160px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

h2 {
    color: #333;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    margin-right: -15px;
    margin-left: -15px;
}

.form-row > .form-group {
    padding-right: 15px;
    padding-left: 15px;
    flex: 1;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.label {
    display: block;
    color: #666;
    text-transform: uppercase;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

select.form-control {
    height: 42px;
    background-color: white;
}

.field-error {
    border-color: #dc3545;
}

#validation-errors, #auth-net-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    margin: 20px 0;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.btn-submit {
    background-color: #789d4a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: #678d3a;
}

.processing-fee {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.card-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
    justify-content: flex-start;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
}

.card-icons img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.card-icons img:hover {
    opacity: 0.8;
}

.form-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.debug-controls {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.debug-controls label {
    margin-right: 20px;
}

.debug-controls button {
    background: #789d4a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.debug-controls button:hover {
    background: #678d3a;
}

.success-message {
    background-color: #D2EBB5;
    border: 1px solid #789d4a;
    margin: 20px 0;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.success-icon {
    color: #789d4a;
    font-size: 48px;
    margin-bottom: 20px;
}

.transaction-details {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.btn-home {
    background-color: #789d4a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-home:hover {
    background-color: #678d3a;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
