/**
 * Customer Requests Card Grid - Apple Quality Design
 *
 * Simplified card grid for customer-facing requests page
 *
 * @package RivaClientPortal
 */

.rcp-customer-requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 24px 0;
}

/* Responsive: 2-1 kolon */
@media (min-width: 992px) {
    .rcp-customer-requests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .rcp-customer-requests-grid {
        grid-template-columns: 1fr;
    }
}

.rcp-customer-request-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rcp-customer-request-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.rcp-customer-request-card__header {
    margin-bottom: 16px;
}

.rcp-customer-request-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.rcp-customer-request-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.rcp-customer-request-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rcp-customer-request-card__workflow {
    margin: 16px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rcp-customer-request-card__workflow-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rcp-customer-request-card__workflow-step {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.rcp-customer-request-card__workflow-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.rcp-customer-request-card__workflow-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.rcp-customer-request-card__timeline {
    margin: 16px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.rcp-customer-request-card__timeline-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rcp-customer-request-card__timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rcp-customer-request-card__timeline-circle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.rcp-customer-request-card__timeline-content {
    flex: 1;
}

.rcp-customer-request-card__timeline-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}

.rcp-customer-request-card__timeline-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.rcp-customer-request-card__appointment {
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.rcp-customer-request-card__appointment-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rcp-customer-request-card__appointment-date {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.rcp-customer-request-card__appointment-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.rcp-customer-request-card__info {
    margin: 16px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.rcp-customer-request-card__info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rcp-customer-request-card__info-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.rcp-customer-request-card__info-value {
    color: #fff;
    font-weight: 600;
}

.rcp-customer-request-card__footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.rcp-customer-request-card__footer-message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.rcp-customer-request-card__actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rcp-customer-request-card__action {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rcp-customer-request-card__action--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.rcp-customer-request-card__action--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Empty state */
.rcp-customer-requests-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.rcp-customer-requests-grid__empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.rcp-customer-requests-grid__empty-text {
    font-size: 18px;
    font-weight: 600;
}

