.cs-sponsorship-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    font-family: inherit;
}

.cs-child-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.cs-child-photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cs-child-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.cs-child-details p {
    margin: 4px 0;
    font-size: 0.95em;
    color: #555;
}

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

.cs-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95em;
}

.cs-form-group input[type="number"],
.cs-form-group input[type="text"],
.cs-form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.cs-form-group input:focus,
.cs-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.cs-form-group small {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 0.85em;
}

.cs-card-placeholder {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 14px;
    background: #fff;
}

.cs-card-number {
    width: 100%;
    margin-bottom: 10px;
    letter-spacing: 2px;
    border: none !important;
    padding: 0 !important;
    font-size: 1.05em;
}

.cs-card-row {
    display: flex;
    gap: 16px;
}

.cs-card-expiry,
.cs-card-cvc {
    flex: 1;
    border: none !important;
    padding: 0 !important;
    font-size: 1em;
}

.cs-card-number:focus,
.cs-card-expiry:focus,
.cs-card-cvc:focus {
    outline: none;
    box-shadow: none !important;
    border: none !important;
}

.required {
    color: #c00;
}

.cs-submit-btn {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}

.cs-submit-btn:hover {
    background: #005f8e;
}

.cs-submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.cs-form-messages {
    margin-bottom: 16px;
}

.cs-form-messages .cs-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
}

.cs-form-messages .cs-error-msg {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
}

.cs-login-notice,
.cs-notice,
.cs-error {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.cs-error {
    background: #fff3f3;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Multi-form */
.cs-children-list {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cs-child-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.cs-child-row:last-child {
    border-bottom: none;
}

.cs-child-row:hover {
    background: #f5f9fc;
}

.cs-child-row .cs-child-check input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cs-child-thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}

.cs-child-info {
    flex: 1;
    padding: 0;
    background: none;
    border: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 0;
}

.cs-child-info label {
    cursor: pointer;
}

.cs-age,
.cs-location {
    font-size: 0.85em;
    color: #777;
    display: block;
}

.cs-child-amount {
    min-width: 140px;
}

.cs-child-amount label {
    display: block;
    font-size: 0.85em;
    margin-bottom: 4px;
    font-weight: 500;
}

.cs-child-amount-input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95em;
    box-sizing: border-box;
}

.cs-total-row {
    text-align: right;
    padding: 10px 0;
    font-size: 1.1em;
    margin-bottom: 16px;
}

#cs-multi-total {
    color: #0073aa;
    font-size: 1.2em;
    margin-left: 8px;
}

/* User dashboard */
.cs-user-dashboard {
    max-width: 900px;
}

.cs-sponsorships-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.cs-sponsorships-table th,
.cs-sponsorships-table td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    text-align: left;
}

.cs-sponsorships-table th {
    background: #f4f4f4;
    font-weight: 600;
}

.cs-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: capitalize;
}

.cs-status-completed {
    background: #d4edda;
    color: #155724;
}

.cs-status-pending {
    background: #fff3cd;
    color: #856404;
}

.cs-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.cs-dashboard-summary {
    margin-top: 20px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.cs-dashboard-summary p {
    margin: 4px 0;
}
