/**
 * Frontend styles for PMPro Membership Number Management
 * Minimal styling - theme handles most styling
 */

/* Registrations Container */
.pmpro-registrations-container {
    margin: 20px 0;
}

.pmpro-registrations-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Member Number Display */
.pmpro-member-number {
    margin-bottom: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.pmpro-member-number strong {
    display: block;
    margin-bottom: 8px;
}

.pmpro-member-number .number {
    font-family: monospace;
    font-weight: bold;
    font-size: 18px;
}

/* Registrations Table */
.pmpro-registrations-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pmpro-registrations-table thead th {
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
}

.pmpro-registrations-table tbody td {
    padding: 12px 10px;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Buttons */
.pmpro-btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pmpro-btn-renew {
    background-color: #0073aa;
    color: white;
    border: 1px solid #0073aa;
}

.pmpro-btn-renew:hover {
    background-color: #005a87;
    border-color: #005a87;
}

/* Registration Options */
.pmpro-registration-options {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.pmpro-registration-options h3 {
    margin-bottom: 30px;
    font-size: 20px;
}

.pmpro-registration-option-card {
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f7ff !important;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
    color: #333 !important;
}

.pmpro-registration-option-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333 !important;
}

.pmpro-registration-option-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333 !important;
}

.pmpro-registration-option-card .pmpro-btn {
    display: inline-block;
}

/* Emergency Contact Form */
.pmpro-emergency-contact-container {
    margin: 20px 0;
}

.pmpro-last-updated {
    margin-bottom: 20px;
}

.pmpro-form-group .required {
    color: #d32f2f;
}

.pmpro-field-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

.pmpro-form-actions {
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .pmpro-registrations-table thead th,
    .pmpro-registrations-table tbody td {
        padding: 8px 6px;
        font-size: 13px;
    }

    .pmpro-registration-option-card {
        padding: 15px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .pmpro-member-number {
        background: #e7f3ff !important;
        border-left-color: #0073aa !important;
    }
}
