/**
 * Point Web Waiver Manager - Customer Panel Styles
 */

.pww-customer-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pww-customer-card.pww-valid {
    border-left: 4px solid #10b981;
}

.pww-customer-card.pww-expiring {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}

.pww-customer-card.pww-customer-no-waiver {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.pww-customer-card.pww-customer-not-logged {
    border-left: 4px solid #6b7280;
    background: #f9fafb;
}

.pww-customer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.pww-customer-header h3 {
    margin: 0;
    font-size: 20px;
    color: #111827;
    font-weight: 700;
}

.pww-customer-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pww-badge-success { background: #d1fae5; color: #065f46; }
.pww-badge-warning { background: #fef3c7; color: #92400e; }
.pww-badge-danger { background: #fee2e2; color: #991b1b; }

.pww-customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.pww-customer-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pww-customer-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pww-customer-value {
    font-size: 16px;
    color: #111827;
    font-weight: 600;
}

.pww-customer-days {
    font-size: 24px;
    color: #10b981;
}

.pww-warning-text {
    color: #f59e0b !important;
}

.pww-customer-companions {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.pww-customer-companions h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #374151;
}

.pww-customer-companions ul {
    margin: 0;
    padding-left: 20px;
}

.pww-customer-companions li {
    margin-bottom: 6px;
    color: #4b5563;
    font-size: 14px;
}

.pww-customer-alert {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}

.pww-customer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pww-customer-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1e40af;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.pww-customer-btn:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.pww-customer-btn-secondary {
    background: #fff;
    color: #1e40af !important;
    border: 1px solid #d1d5db;
}

.pww-customer-btn-secondary:hover {
    background: #f9fafb;
    border-color: #1e40af;
}

.pww-already-signed {
    color: #065f46;
    font-weight: 600;
    margin: 10px 0;
}

@media (max-width: 600px) {
    .pww-customer-card { padding: 16px; }
    .pww-customer-header h3 { font-size: 17px; }
    .pww-customer-grid { grid-template-columns: 1fr 1fr; }
    .pww-customer-actions { flex-direction: column; }
    .pww-customer-btn { width: 100%; text-align: center; }
}
