/* Modern Reservations Styles */

.res-table-row {
    transition: all 0.2s ease;
}

.res-table-row:hover {
    background-color: rgba(0,0,0,0.02) !important;
}

.res-guest-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.res-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0; /* Evita que se aplaste */
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
    border: 2px solid #fff;
}

.res-name-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.res-guest-name-text {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.res-guest-subtext {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.res-tags {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.res-tag-overdue {
    font-size: 0.65rem;
    background: #fee2e2;
    color: #b91c1c;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.res-tag-profile {
    font-size: 0.65rem;
    background: #dcfce7;
    color: #15803d;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.res-room-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #e5e7eb;
}

.res-date-cell {
    display: flex;
    flex-direction: column;
}

.res-date {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.res-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.res-nights {
    font-size: 0.85rem;
    color: #6b7280;
}

.res-total {
    font-weight: 700;
    color: #059669;
    font-size: 0.95rem;
}

.res-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-success {
    background: #dcfce7;
    color: #15803d;
}

.badge-gray {
    background: #f3f4f6;
    color: #6b7280;
}

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.res-actions-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-res-action {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-res-manage {
    background: #111827;
    color: white;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 6px;
}

.btn-res-manage:hover {
    background: #374151;
    transform: translateY(-1px);
}

.btn-res-delete {
    background: #fff;
    color: #ef4444;
    border: 1px solid #fee2e2;
    width: 34px;
    height: 34px;
}

.btn-res-delete:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}
