:root {
    --primary-color: #2b7da8; /* Blue for primary button and accents */
    --secondary-color: #ffffff; /* White for backgrounds */
    --text-color: #333333;
    --border-color: #d1e5f0; /* Light blue/grey for borders */
    --input-bg: #f4f9fc; /* Very light blue/grey for inputs */
    --upload-bg: #e1f4ff; /* Lighter blue for upload button */
    --spacing-s: 10px;
    --spacing-m: 20px;
    --spacing-l: 30px;
}
      :root{
      --bg:#f6f8fb;
      --card:#ffffff;
      --ink:#0f1b2d;
      --muted:#5b6b7c;
      --accent:#0070ba; /* PayPal blue */
      --accent-2:#003087; /* deep blue */
      --brand:#ffc439;   /* PayPal yellow */
      --ring:#d9e3ea;
      --danger:#b00020;
      --radius:14px;
      --shadow:0 10px 30px rgba(16, 42, 67, .08);
        }

@media screen and (max-width: 600px) {
  .donate-btn {
    display: none;
  }
}

/* Container */
.donation-container {
    background-color: var(--secondary-color);
    padding: var(--spacing-l);
    border-radius: 8px;
    max-width: 550px;
    width: 100%;
    margin: auto;
}

/* Header */
.form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-l);
    color: var(--primary-color);
    text-align: center;
}

.form-header h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 var(--spacing-s);
    color: rgba(2, 39, 59, 1);
}

.diamond {
    width: 8px;
    height: 8px;
    background-color: gold; /* Diamond color from image */
    transform: rotate(45deg);
    border-radius: 1px;
    display: block;
}

/* Form Groups and Inputs */
.form-group {
    margin-bottom: var(--spacing-m);
    width: 100%; /* Default width for single-column */
}

.form-group-inline {
    display: flex;
    gap: var(--spacing-m);
    margin-bottom: var(--spacing-m);
}

.form-group-inline .form-group {
    flex: 1; /* Distribute space equally */
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: rgba(7, 51, 74, 1);
    font-weight: 500;
}

input[type="text"] {
    width: 100%;
    padding: var(--spacing-s) 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--input-bg);
    font-size: 1rem;
    color: var(--text-color);
    text-align: right;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(43, 125, 168, 0.2);
}

/* Upload Button Styling */
.upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--spacing-s);
    background-color: var(--upload-bg);
    color: rgba(94, 144, 176, 1);
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.upload-button img {
    fill: var(--primary-color);
    margin-left: 8px;
}

.upload-button:hover {
    background-color: #c9e9ff;
}

.file-name {
    /* Optional: Display selected file name */
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
}

/* Separator */
.separator {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: var(--spacing-l) 0;
}

/* Donation Summary */
.donation-summary {
    margin-bottom: var(--spacing-l);
}

.donation-label {
    font-size: 16px;
    color: rgba(2, 39, 59, 1);
    margin-bottom: 5px;
}

.donation-amount {
    font-size: 36px;
    font-weight: bold;
    color: rgba(2, 39, 59, 1);
    margin-bottom: var(--spacing-s);
}

.checkbox-group {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-group input[type="checkbox"] {
    /* Custom styling for the checkbox (optional, but good practice) */
    margin-left: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color); /* Changes the checkbox color */
}

/* Buttons */
.form-actions {
    display: flex;
    gap: var(--spacing-s);
    justify-content: space-between;
}

.button {
    flex: 1;
    padding: var(--spacing-s) 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s, opacity 0.3s;
}

.button.primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.button.primary:hover {
    background-color: #205c80;
}

.button.secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 3px solid rgba(94, 144, 176, 1); /* Light border to match image */
}

.button.secondary:hover {
    background-color: #f0f8ff;
}

/* Responsiveness */
@media (max-width: 600px) {
    .donation-container {
        padding: var(--spacing-m);
        box-shadow: none; /* Remove box shadow on smaller screens */
    }

    .form-group-inline {
        flex-direction: column; /* Stack Bank Code and IBAN on small screens */
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column; /* Stack buttons on small screens */
    }

    .button {
        margin-top: var(--spacing-s);
        padding: 15px 0;
    }
    
    .donation-amount {
        font-size: 1.75rem; /* Slightly smaller font for amount */
    }
}