/**
 * BellenPaws Donation Page Styles
 * Defines the split layout, grid, and button colors for the template.
 */

/* Main flex container to split left (image) and right (form) */
.bnp-donate-split {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

/* Image container (Left Side) */
.bnp-donate-image {
    flex: 1 1 300px;
    max-width: 512px;
}

.bnp-donate-image img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Optional slight rounding for a modern look */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Form container (Right Side) */
.bnp-donate-form-wrapper {
    flex: 2 1 400px; /* Takes up more space on wider screens */
}

/* Grid for the 5 preset buttons and the custom input wrapper */
.bnp-donate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns across */
    gap: 15px;
    margin-bottom: 1.5rem;
}

/* Styling for the 5 preset pink buttons */
.preset-btn {
    background-color: #fcb8b8;
    color: #3e7fff; /* Updated to BnP blue */
    border: none;
    padding: 15px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.preset-btn:hover {
    background-color: #efa7a7;
    color: #2b6ad4; /* Updated to darker blue on hover */
}

.preset-btn:active {
    transform: scale(0.98);
}

/* 6th Grid Item: Wrapper for label and custom input */
.custom-amount-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes the input down so it aligns with buttons */
}

.custom-amount-wrapper label {
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: #333;
    font-weight: bold;
    text-align: center;
}

/* Custom Input Field with green border and static $ sign */
.input-prefix {
    display: flex;
    align-items: center;
    border: 2px solid green;
    border-radius: 4px;
    background: #fff;
    padding: 0 10px;
    height: 52px; /* Matches the typical height of the padded preset buttons */
    box-sizing: border-box;
}

.currency-symbol {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
    font-size: 1.1rem;
}

.input-prefix input {
    border: none !important;
    background: transparent;
    width: 100%;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield; /* Hides default up/down arrows in Firefox */
}

/* Hides default up/down arrows in Chrome/Safari */
.input-prefix input::-webkit-outer-spin-button,
.input-prefix input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* The Blue Donate Submit Button */
.bnp-submit-donate {
    background-color: #3e7fff !important;
    color: #fcb8b8 !important; /* Updated to BnP pink */
    width: 100%;
    padding: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bnp-submit-donate:hover {
    background-color: #2b6ad4 !important;
    color: #efa7a7 !important; /* Updated to darker pink on hover */
}

/* Tax Disclaimer Text */
.bnp-donate-tax-disclaimer {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-top: 0;
}

/* Merch Store Notice */
.bnp-merch-notice {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    font-size: 1.1rem;
}

.bnp-merch-notice a {
    color: #3e7fff; /* BnP Blue */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bnp-merch-notice a:hover {
    color: #2b6ad4; /* Darker blue on hover */
    text-decoration: underline;
}