/* ==========================
   RUM Donations - Modern Card Design
   ========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1a202c;
}

p {
    color: #4a5568;
    margin: 0;
}

label {
    color: #2d3748;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.rum-card {
    max-width: 500px;
    margin: 20px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.rum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6a1b9a 0%, #8e24aa 100%);
}

.rum-card h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #1a202c;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.rum-form-header {
    margin-bottom: 25px;
    text-align: center;
}

.rum-form-header h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #1a202c;
    font-weight: 700;
}

.rum-form-description {
    font-size: 16px;
    color: #4a5568;
    font-weight: 500;
    margin: 0;
    padding: 12px;
    background-color: #edf2f7;
    border-radius: 8px;
    border-left: 4px solid #6a1b9a;
}

.rum-card form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

.rum-form-group:last-of-type {
    margin-bottom: 20px;
}

.rum-form-group label {
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.rum-required {
    color: #e53e3e;
    font-weight: 700;
}

.rum-card input[type="text"],
.rum-card input[type="email"],
.rum-card input[type="number"],
.rum-card input[type="tel"],
.rum-card select,
.rum-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background-color: #f7fafc;
    color: #2d3748;
}

.rum-card input[type="text"]:hover,
.rum-card input[type="email"]:hover,
.rum-card input[type="number"]:hover,
.rum-card input[type="tel"]:hover,
.rum-card select:hover,
.rum-card textarea:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
}

.rum-card input[type="text"]:focus,
.rum-card input[type="email"]:focus,
.rum-card input[type="number"]:focus,
.rum-card input[type="tel"]:focus,
.rum-card select:focus,
.rum-card textarea:focus {
    outline: none;
    border-color: #6a1b9a;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
}

.rum-card input[type="hidden"] {
    display: none;
}

.rum-card textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.rum-checkbox-group {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #6a1b9a;
}

.rum-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0;
}

.rum-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #6a1b9a;
}

.rum-checkbox-label span {
    color: #2d3748;
    font-weight: 500;
    line-height: 1.4;
}

.rum-terms-text {
    font-size: 12px;
    color: #718096;
    line-height: 1.5;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    max-height: 150px;
    overflow-y: auto;
}

.rum-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.rum-btn-primary {
    background: linear-gradient(135deg, #6a1b9a 0%, #8e24aa 100%);
    color: #ffffff;
    margin-top: 10px;
}

.rum-btn-primary:hover {
    background: linear-gradient(135deg, #5a0a8a 0%, #7e149a 100%);
    box-shadow: 0 6px 20px rgba(106, 27, 154, 0.3);
}

.rum-btn-primary:active {
    box-shadow: 0 2px 8px rgba(106, 27, 154, 0.2);
}

.rum-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(106, 27, 154, 0.2);
}

.rum-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.rum-form-buttons .rum-btn {
    flex: 1;
}

.rum-btn-secondary {
    background: #718096;
    color: #ffffff;
    border: none;
}

.rum-btn-secondary:hover {
    background: #4a5568;
    box-shadow: 0 4px 12px rgba(113, 128, 150, 0.2);
}

.rum-btn-secondary:active {
    box-shadow: 0 2px 6px rgba(113, 128, 150, 0.15);
}

.rum-errors {
    background-color: #fff5f5;
    border: 2px solid #fc8181;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 25px;
}

.rum-errors p {
    color: #c53030;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.rum-errors p + p {
    margin-top: 8px;
}

.rum-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rum-status.pending {
    background-color: #feebc8;
    color: #c05621;
}

.rum-status.paid {
    background-color: #c6f6d5;
    color: #22543d;
}

.rum-status.cancelled {
    background-color: #fed7d7;
    color: #742a2a;
}

.rum-status.reversed {
    background-color: #e9d8fd;
    color: #553399;
}

.rum-alumni-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rum-thank-you-page {
    text-align: center;
    padding: 40px;
}

.rum-thank-you-page h3 {
    font-size: 32px;
    color: #1a202c;
    margin-bottom: 30px;
    font-weight: 700;
}

.rum-thank-you-page p {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.6;
}

.rum-thank-you-page p strong {
    color: #2d3748;
    font-weight: 600;
}

.rum-thank-you-page .rum-alumni-badge {
    margin: 15px 0;
    display: inline-block;
}

.rum-thank-you-page .rum-status {
    font-size: 14px;
}

@media (max-width: 768px) {
    .rum-card {
        margin: 15px;
        padding: 30px;
        border-radius: 12px;
    }

    .rum-card h3 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .rum-form-group {
        margin-bottom: 18px;
    }

    .rum-card input[type="text"],
    .rum-card input[type="email"],
    .rum-card input[type="number"],
    .rum-card input[type="tel"],
    .rum-card select,
    .rum-card textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    .rum-btn {
        padding: 13px 20px;
        font-size: 15px;
    }

    .rum-checkbox-group {
        padding: 12px;
    }

    .rum-terms-text {
        font-size: 11px;
    }

    .rum-thank-you-page {
        padding: 30px;
    }

    .rum-thank-you-page h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .rum-thank-you-page p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .rum-form-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .rum-form-buttons .rum-btn {
        flex: none;
    }
}

@media (max-width: 480px) {
    body {
        background: #f5f7fa;
    }

    .rum-card {
        margin: 10px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .rum-card h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .rum-form-header h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .rum-form-description {
        font-size: 14px;
        padding: 10px;
    }

    .rum-form-group {
        margin-bottom: 16px;
    }

    .rum-form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .rum-card input[type="text"],
    .rum-card input[type="email"],
    .rum-card input[type="number"],
    .rum-card input[type="tel"],
    .rum-card select,
    .rum-card textarea {
        font-size: 16px;
        padding: 11px 12px;
        border-radius: 6px;
    }

    .rum-card textarea {
        min-height: 80px;
    }

    .rum-btn {
        padding: 12px 16px;
        font-size: 14px;
        margin-top: 8px;
    }

    .rum-errors {
        padding: 12px;
        margin-bottom: 20px;
        border-radius: 6px;
    }

    .rum-errors p {
        font-size: 13px;
    }

    .rum-checkbox-group {
        padding: 10px;
        border-left-width: 3px;
        margin-bottom: 16px;
    }

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

    .rum-terms-text {
        font-size: 11px;
        max-height: 120px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .rum-status {
        font-size: 12px;
        padding: 6px 12px;
    }

    .rum-alumni-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .rum-thank-you-page {
        padding: 20px;
    }

    .rum-thank-you-page h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .rum-thank-you-page p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .rum-form-buttons {
        flex-direction: column;
        gap: 8px;
    }
}